Okteto Blog

Surprising Results in the 2020 Python Developers Survey

Image of Surprising Results in the 2020 Python Developers Survey

Every year, JetBrains and the Python Software Foundation conduct an online survey better to understand the state of Python’s ecosystem.

In October 2020, more than 28,000 Python developers and enthusiasts from almost 200 countries/regions took the survey, and the results went out earlier this week.

While I no longer code in Python (Okteto is mostly a golang + react shop), Python was my primary language for many years (Hipchat and Elasticbox were both python-apps), so I like to stay in touch with the community. This morning I went through the results, and they are quite surprising.

Read More

Adding A Database to Your Application Using Okteto Stacks

Image of Adding A Database to Your Application Using Okteto Stacks

Temporary in-app databases are not ideal for web applications. Any unfortunate event such as an abrupt shutdown or restarting of the application will lead to the total loss of stored data.

This is the third post in our series on how to develop a fastAPI application with Okteto. In the previous posts, you learned how to deploy applications directly from your console using Okteto Stacks and how to deploy it directly from Okteto’s UI.

In this tutorial, you will be adding a database to store better your application data, and then you will deploy the updated version to your Okteto namespace directly from your command line.

Read More

Building a Machine Learning Application with spaGO and Okteto Cloud

Image of Building a Machine Learning Application with spaGO and Okteto Cloud

Author bio: Sangam is Developer Advocate at Accurics. He’s also a Docker Community Leader Award Winner and an Okteto and Traefik Community Ambassador. You can reach out to him on Twitter to connect and chat more about Cloud Native applications!

I’ve always marveled at the power of machine learning. There are so many manual tasks that are now super simple to automate, thanks to ML algorithms! While researching this topic, I recently discovered spaGO and was blown away by how cool and powerful it is.

This post will show you how you can use spaGO and Okteto Cloud to build and run a service that answers questions written in English.

Read More

Deploying An Existing Application Using Okteto Cloud

Image of Deploying An Existing Application Using Okteto Cloud

Deploying An Existing Application Using Okteto Cloud

Fast deployment of applications is an attribute Okteto boasts of. The deployment of applications from the Okteto dashboard is easy and fast as it requires one click on the deploy button without having to deal with the complexities of CLIs, manifests, etc. Applications deployed in Okteto are automatically secured using HTTPs and can be tested, shared, and used by the public.

In the previous blog post, you learned how to build a FastAPI CRUD application and deployed it to Okteto using the Okteto CLI tool. In this tutorial, you will be learning how to deploy the application directly from your Okteto dashboard.

Read More

Working with Multiple Kubernetes Clusters using Okteto

Image of Working with Multiple Kubernetes Clusters using Okteto

As a developer, there’s going to be a time where you need to work with different Kubernetes clusters. At a minimum, you need to work with two clusters: one is your local cluster, and a second one could be a remote cluster for testing purposes in a cloud provider or elsewhere. Kubernetes has contexts, a set of configurations you can use to interact with different clusters from your workstation using kubectl. At the end of the day, remember that you’re interacting with an API to persist the desired state for your workloads.

Even though kubectl offers a set of commands you could use to work with different clusters, you might need another set of tools to make your life easier. Sometimes, typing long commands would decrease your productivity, and they’re hard to remember initially. And if you’re using okteto, you don’t need to use another tool and almost forget about kubectl to work with different clusters. We’ll see in this post how’s that possible.

Read More

Enhancing your Kubernetes Resiliency with Cloud Native Chaos Engineering

Image of Enhancing your Kubernetes Resiliency with Cloud Native Chaos Engineering

Chaos Engineering is a key practice of Cloud Native Development. You can’t really guarantee that your Cloud Native Applications are “distributed and resilient by design” if you don’t know what’s going to happen to then when something fails in production.

Prithvi Raj and Karthik Satchit invited me to join a panel discussion on this topic, and the recording of it is now available on youtube 📺.

Join Sylvain Hellegouarch (CTO at ChaosIQ), Kristin Barkardottir (SRE at NetApp), Sumit Nagal (Principal Engineer at Intuit), Karthik (Core maintainer of LitmusChaos), Divya Mohan (Enterprise Engineer at HSBC) and I as we talk about the need for Cloud Native Chaos Engineering, the benefits of this type of practice, and strategies on how to get your company to invest in a Chaos Engineering practice. I learned a lot, and I hope you too!


Interested in getting started with Cloud Native Chaos Engineering? Check out how to get started on Chaos Engineering with Litmus and Okteto. And if you’re in KubeCon NA next week, don’t miss Sumit’s talk on how Inuit uses LitmusChaos to manage and orchestrate their chaos experiments.

See you online!

Getting Started with Okteto and Rust

Image of Getting Started with Okteto and Rust

Without any doubt, Kubernetes has become the default platform to run modern applications. However, for a developer, working with Kubernetes brings a new set of challenges, and a learning curve that might be intimidating. Additionally, and more importantly, the development inner loop now requires a few more steps before you can test your app.

To put this in perspective, prior to Kubernetes, the inner loop for Rustaceans used to look something like this:

  • Write some code
  • Run the app with cargo run (which includes compiling)

And when you add Kubernetes to the formula, the inner loop looks like this:

  • Write some code
  • Build a container image (which includes compiling)
  • Push the container image to the registry
  • Deploy the app to Kubernetes

These extra steps from above easily translate into a minimum of two minutes. If you want to fix something quickly, those extra steps become an eternity. There has to be a better way, right? Yes, there is, and the answer is Okteto.

Read More