Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services

Many turn to static duplicate dev environments to shorten the dev loop and isolate code tests, but those bring about additional issues. The idea of safely sharing a dev environment and seeing your code changes in action immediately before sharing them probably seems impossible.

Service Preview, powered by Telepresence and the Ambassador Edge Stack, is here to help! This capability enables you to preview changes immediately and test locally with your tool of choice, while sharing a development cluster.

In this 45-minute webinar, Abhay Saxena will demonstrate using Service Preview to have a fast inner development loop while fixing a bug in a microservice, including stepping through the code in a debugger while other developers continue working unaffected.

  • Be the first to comment

  • Be the first to like this

Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services

  1. 1. Accelerate Your Inner Dev Loop for Kubernetes Services Abhay Saxena Principal Software Engineer, Datawire Jen Dyment Product Marketing Manager, Datawire
  2. 2. ● Containers introduce complexities to inner dev loops ● Typical approaches to remedy these complexities introduce additional issues ● Service Preview allows you to: ○ Code microservices locally ○ Preview changes immediately with routed test traffic ○ Use your favorite tools (debuggers, IDEs, etc.) locally ○ Treat microservice as if it is live in the cluster ○ Work in isolation before merging your changes ● Service Preview is simple to implement tl;dr
  3. 3. Please ask questions!
  4. 4. CODE DEVELOPMENT RUN OPERATIONS TEST ALL QA RELEASE OPERATIONS DEPLOY OPERATIONS Huge Team Microservices Enable Faster OUTER Dev Loops
  5. 5. DEV DEV DEV DEV CODE DEVELOPMENT RUN OPERATIONS TEST ALL QA RELEASE OPERATIONS DEPLOY OPERATIONS Huge Team Microservices Enable Faster OUTER Dev Loops
  6. 6. Containers Slows Down INNER Dev Loops
  7. 7. Other approaches to setting up dev environments have drawbacks Copy 1 Copy 3 MS 1 MS 2 MS 3 MS 4 Kubernetes Dev Cluster Copy 2 Individual Copies of Dev Cluster for Each Developer Issues - $$$ Cloud Costs - Pain to keep up- to-date Running Local Only Development Environments Issues - Requires “64-core laptops” - Maintenance of emulators - Pain to keep up-to-date
  8. 8. MS2 Code MS1 Code MS1 Code MS 2 MS 3 MS 1 Kubernetes Dev Cluster Edge Requests Dev 1 Test Traffic Typical Traffic Dev 1 Service Preview Proxy Dev 2 Test Traffic Dev 2 Service Preview Proxy Service Preview in the Ambassador Edge Stack
  9. 9. MS2 Code MS1 Code MS1 Code MS 2 MS 3 MS 1 Kubernetes Dev Cluster Edge Requests SHORTEN THE INNER DEV LOOP Dev 1 Test Traffic Typical Traffic Dev 1 Service Preview Proxy Dev 2 Test Traffic Dev 2 Service Preview Proxy
  10. 10. WORK AND TEST CHANGES IN ISOLATION MS2 Code MS1 Code MS1 Code MS 2 MS 3 MS 1 Kubernetes Dev Cluster Edge Individually Identifiable Requests Dev 1 Test Traffic Typical Traffic Dev 1 Service Preview Proxy Dev 2 Test Traffic Dev 2 Service Preview Proxy
  11. 11. Speed of Inner Dev Loop Isolated Code Loops Fidelity of Environment Low Maintenance Efforts/ Costs Scalability 1. Container Approach: Local Changes, Push to Cloud 2. Local Approach: Completely Local, Emulated Services 3. Cloud Approach: Duplicated Dev Clusters 4. Service Preview Approach: Proxies and Routing
  12. 12. Demo of Service Preview
  13. 13. What Just Happened?
  14. 14. MS2 Code MS1 Code MS1 Code MS 2 MS 3 MS 1 Kubernetes Dev Cluster Edge Individually Identifiable Requests Dev 1 Test Traffic Typical Traffic Dev 1 Service Preview Proxy Dev 2 Test Traffic Dev 2 Service Preview Proxy
  15. 15. A quick recap... ● Code microservices locally ● Preview changes immediately with routed test traffic ● Use your favorite tools (debuggers, IDEs, etc.) locally ● Treat microservice as if it is live in the cluster ● Work in isolation before merging your changes
  16. 16. Wrapping Up
  17. 17. Get Started with Service Preview and Edge Control: https://www.getambassador.io/docs/latest/topics/using/edgectl/ Subscribe to our podcasts: https://www.getambassador.io/resources?types=Podcast Follow us on Twitter: https://twitter.com/getambassadorio Learning More youtube.com/watch?v=LDiyKOa1V_A
  18. 18. Q&A

×