Okteto Blog

Connecting to your Databases using Port Forwarding

Image of Connecting to your Databases using Port Forwarding

One of the big benefits of Okteto Cloud is the ability to deploy Cloud Native Stores with a single click. Via the Okteto Cloud catalog you can deploy things like Redis, PostgreSQL, CockroadDB, RabbitMQ and many more.

These stores are normally meant to support your application, and are typically only accessible to applications and services running on the same namespace. But when managing them, sometimes it’s convenient to be able to use CLI or GUI-based clients running on your own local machine.

In this post, we’ll show you how you can use the port forwarding features of Kubernetes and okteto to securely access your database directly from your local machine, just as if you were developing on your local machine.

Read More

Cloud-Based Development Environments from any Git Repository

Image of Cloud-Based Development Environments from any Git Repository

Cloud-based development environments are getting a lot of traction due to its great benefits: instant onboarding, access to cloud infrastructure with no friction, and easier team collaboration. I love the idea of clicking a button and have a ready to go development environment in seconds. This is the future of software development.

But cloud-based development environments come with a few of severe limitations:

  • It don’t have access to the underlying infrastructure.
  • I can’t reuse my existing application manifests.
  • I am forced to use a browser-based IDE.

Read More

Serverless Development with Kubeless and Okteto

Image of Serverless Development with Kubeless and Okteto

I’m a huge fan of serverless programming. I just love the simplicity of writing a small piece of code, running a command, and have it available on demand. Last year I spoke at Kubecon’s Serverless Practitioners Summit about my experience around building functions with OpenFaaS, and how you can leverage Okteto to make it even easier (a version of that talk is also available as a guest post in the OpenFaaS’ blog, if you prefer that format).

I had a lot of great conversations after that talk. In one of those, someone asked me if okteto could also work the same way with Kubeless. I wasn’t familiar with Kubeless at the time, but I remember saying that as long as Kubeless “spoke Kubernetes”, it should work. Someone reminded me of that conversation the other day, so I decided to try it out. And, spoiler alert, it does!

In this post, we’ll talk about how to install Kubeless in your cluster, we’ll deploy our first function, and then we’ll use okteto to quickly iterate on a a second version of the function directly in our Kubernetes cluster.

Read More

Crossplane Community Day 2020

Image of Crossplane Community Day 2020

Crossplane, for those of you unfamiliar with it, is an open source Kubernetes add-on that supercharges your Kubernetes clusters enabling you to provision and manage infrastructure, services, and applications from kubectl.

The project recently celebrated their first anniversary, and last month they organized their first ever Community Day 🎉

Kelsey Hightower gave the keynote, and a group of contributors, users and industry leaders talked about the present and future of the crossplane project, the open application model specification, and real-life use cases. All the talks from the event are now available on YouTube. I highly recommend that you check them out.

As part of the event, we gave a talk on How to Add Cloud Services to your Development Environment with Crossplane and Okteto. You can watch the recording here 📺

The code for the demo is available here, if you want to try it out yourself. I’m biased, but this is one of my favorite demos.

Big shout out to Dan and Moka from inviting us, and to the rest of the Crossplane/Upbound team for organizing such a wonderful event.

Remote Development Environments with PyCharm, Okteto and Kubernetes

Image of Remote Development Environments with PyCharm, Okteto and Kubernetes

In the past, we’ve talked about how to develop remotely with VS Code. Today, I’m going show you how can you use okteto to define and deploy a fully configured remote development environment for your python application, how to integrate it with Jetbrains’ PyCharm and how to use it to build a Cloud Native application.

The Okteto Developer platform allows you to spin up an entire development environment in Kubernetes with one click. This can be as simple as a single container or as complex as a microservice-based Cloud Native Application. You deploy your application with one click, select the component you’re going to develop on, and you’re ready to go in seconds.

Read More

OSCONF 2020 Bangalore – An Open Source Community Conference

Image of OSCONF 2020 Bangalore – An Open Source Community Conference

This week, we were part of OSCONF Bangalore 2020, and online conference on Open Source and Cloud Native Technologies. The conference was organized by our friends Ajeet, Saiyam and Sangam from Collabnix, with the help of the Okteto, Docker, Rancher and InfluxDB meetups in Bangalore.

The event was a lot of fun. The talks were all by practioners, and covered topics such as Serverless, Prometheus, KubeMQ, Redis, Istio, InfluxDB, Traefik and of course, Okteto 😎. It was a lot of fun, and I learned a lot.

Read More

Build your React + Express App in Okteto Cloud

Image of Build your React + Express App in Okteto Cloud

React is a JavaScript library for building user interfaces. It was originally created by Facebook, and over the years it has become one of the most broadly used frontend libraries. React is particularly powerful when building single-page or mobile apps.

You can build your React frontend locally. The local development experience is one of the best there is. But is very likely that, in production, your React frontend is going to to work along with other services, like a backend, or a database. What are you going to do then? Typically you’d end up mocking the backend, or calling a staging version, rendering your local development environments very complex…

In this post I’ll show how you can take advantage of the different features of Okteto Cloud to make it easier than ever to build a React application. You can still benefit from React’s local development experience, but you’ll also have access to a fully integrated, production-like development environment, backend included. Hello okteto up, goodbye production-only bugs 👋🏼!

Read More

Don't Build and Push, Move Your Inner Loop to Your cluster!

Image of Don't Build and Push, Move Your Inner Loop to Your cluster!

This week, we were part of the AllTheTalks.online conference, a 23.9999 hour online-only conference on all things DevOps, Development & Security. And, as an added bonus, doubled as a fundraiser for COVID19 victims. Pretty cool no?

The conference had a lot of super interesting talks. It was hosted by Snyk, and went for almost 24 hours, so there was always a talk going on. I particularly liked Zander Mackie’s talk on Buildpacks, Mya Pitzeruse’s one on GRPC + Kubernetes, and Simon Maple’s on Containers hackery. All the talks are available on YouTube.

We talked about Okteto and how to use it to simplify the development of Cloud Native applications. The talked covered the history of the project, community use cases and a demo of how to find and fix a bug on micro services-based app directly in Kubernetes. It was a lot of fun!

The slides are available here.