Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Effortless Cloud-Native App Development Using Skaffold

You're reading from   Effortless Cloud-Native App Development Using Skaffold Simplify the development and deployment of cloud-native Spring Boot applications on Kubernetes with Skaffold

Arrow left icon
Product type Paperback
Published in Oct 2021
Publisher Packt
ISBN-13 9781801077118
Length 272 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ashish Choudhary Ashish Choudhary
Author Profile Icon Ashish Choudhary
Ashish Choudhary
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: The Kubernetes Nightmare – Skaffold to the Rescue
2. Chapter 1: Code, Build, Test, and Repeat – The Application Development Inner Loop FREE CHAPTER 3. Chapter 2: Developing Cloud-Native Applications with Kubernetes – A Developer's Nightmare 4. Chapter 3: Skaffold — Easy-Peasy Cloud-Native Kubernetes Application Development 5. Section 2: Getting Started with Skaffold
6. Chapter 4: Understanding Skaffold's Features and Architecture 7. Chapter 5: Installing Skaffold and Demystifying Its Pipeline Stages 8. Chapter 6: Working with Skaffold Container Image Builders and Deployers 9. Section 3: Building and Deploying Cloud-Native Spring Boot Applications with Skaffold
10. Chapter 7: Building and Deploying a Spring Boot Application with the Cloud Code Plugin 11. Chapter 8: Deploying a Spring Boot Application to the Google Kubernetes Engine Using Skaffold 12. Chapter 9: Creating a Production-Ready CI/CD Pipeline with Skaffold 13. Chapter 10: Exploring Skaffold Alternatives, Best Practices, and Pitfalls 14. Other Books You May Enjoy

Understanding the application development inner loop

The application development inner loop is an iterative process in which a developer changes the code, starts a build, runs the application, and then tests it. If something goes wrong, then we repeat the entire cycle.

So basically, it is the phase before a developer shares the changes done locally with others. Irrespective of your technology stack, the tools used, and personal preferences, the inner loop process may vary, but ideally, it could be summarized into the following three steps:

  1. Code
  2. Build
  3. Test

Here is a quick visual representation of the inner development loop:

Figure 1.1 – Inner loop

Figure 1.1 – Inner loop

If you think about it, coding is the only step that adds value, and the rest of the steps are like a validation of your work, that is, confirming whether your code is compiling and tests are passing or not. Since developers spend most of their time on the inner loop, they don't like spending too much time on any of the steps. It should be swift. Moreover, as developers, we thrive on fast feedback.

All the steps that we have defined until now are happening locally on a developer's machine before committing the code to a source code repository. Once a developer commits and pushes changes to the source code repository, it typically starts their CI/CD pipeline, called the outer development loop (pull request, CI, deployment, and so on). Whether you are developing traditional monolith or container-native microservices applications, you should not neglect the importance of your inner development loop. Here is why you should care about your inner development loop:

  • If your inner development loop is slow and lacks automation, then the developer's productivity will plunge.
  • It would be best if you always aimed to optimize it because a slow inner loop will affect other dependent teams, and it will take much longer to deliver a new feature to your users.

Now that we've had a quick overview of the application development inner loop, let's compare the inner and outer development loops.

You have been reading a chapter from
Effortless Cloud-Native App Development Using Skaffold
Published in: Oct 2021
Publisher: Packt
ISBN-13: 9781801077118
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image