Live Workshop: How to Measure ROI of Developer Experience
Register now!

What’s New in Okteto CLI — June 2021

We’re excited to announce our latest Okteto CLI release! We’re officially on CLI Version 1.13.

Read on to find out what’s new in Okteto CLI!

New Feature — Divert

One of the features we’re really excited about is Divert. Divert allows you to divert traffic that is headed to a particular service in your app to another instance of that service. This can help with development flow, testing, canary deployments, and more. If you’d like to hear more about this new feature, join us on Thursday, June 24th at 10am Pacific for our Community Call. Jacob MacElroy from our team will be giving a demo of the new feature live on the call. Register for the call!

Integrations with Docker Compose

We continue to make updates to our Docker Compose integration. This month we’ve fixed bugs related to how URLs are reported.

We now offer support for jobs and depends_on, which can be used for data initialization tasks. One common use case where this can come in handy is when you need a database to be ready before the application deploys. You can use depends_on to ensure that happens.

We’ve also added the ability to allow people to run docker commands (DinD) from within Okteto. This feature request was made by several customers, and we’re excited to now offer it in this latest release of the CLI.

Updates to okteto up and community requested features

Now, when you run okteto up you can keep dev dependencies in the working directory so you won’t need to reinstall them. You can preinstall dependencies on your container and they’ll be available whenever you deploy your development environment. We’ve also fixed several errors for reconnecting okteto up when the connection goes down or when your laptop goes to sleep.

We have several new and updated features that came directly from customer feedback. For example, you can now put your pipeline files in a folder called .okteto. This works in a similar way to what GitHub does with the .github folder.

We’ve also made updates to our restart policies. You now have the ability to start something once without needing to restart it again. This can be useful for tasks like adding data to a database as a one-off installation.

Another new feature that came from customer feedback is the ability to specify ports in a range, rather than having to manually create each one.

Okteto now uses Syncthing 1.17.0, Kubectl 1.21.0, and Helm 3.6.1.

Error messaging has been updated to be more descriptive, specifically when it comes to errors related to storage class misconfiguration.

Our goal is to always make Okteto more resilient and to ensure a better developer experience. We care about community and we’d love to hear your thoughts! If you’d like to give it a try or have any feature requests, please visit our open source repository on GitHub. If you like Okteto, please give it a star!

Happy Coding!

Melissa WilliamsView all posts

What Is the Kubernetes Release Team and Why You Should Consider Applying

Kubernetes 1.25 just got released. I consider myself very lucky to be able to help with the release as the CI Signal Lead and get to work with the amazing...

August 25, 2022
Avatar of Arsh SharmaAvatar of Arsh SharmaArsh Sharma

Developing Microservices by Hot Reloading on Kubernetes Clusters

Let me jog your memory with how we used to develop applications not so long ago. We would bring up the application, write some code, hit save, see our...

August 11, 2022
Avatar of Arsh SharmaAvatar of Arsh SharmaArsh Sharma