Questions tagged [okteto]
21 questions
4
votes
1 answer
Creating a PersistentVolume on Okteto Cloud
When I try to create a persistentVolume on Okteto Cloud with the following definition:
kind: PersistentVolume
apiVersion: v1
metadata:
name: postgres-pv
labels:
type: local
app: postgres
spec:
storageClassName: manual
capacity:
…

Nicolas Marshall
- 4,186
- 9
- 36
- 54
3
votes
2 answers
Okteto ignore certain yaml file
In my GitHub repo I have 2 yaml files:
k8s/deploy-all-secrets.yaml
k8s/deploy-edge.yaml
I make use of cloud.okteto.com to deploy this deployment-file. But I don't want Okteto to deploy the deploy-all-secrets.yaml file. Is there any way I can…

Peetha
- 75
- 5
3
votes
1 answer
Cannot pull a private package/image from GitHub Container Registry into Okteto Kubernetes
I hope it's ok to ask for your advice.
The problem in a nutshell: my pipeline cannot pull private images from GHCR.IO into Okteto Kubernetes, but public images from the same private repo work.
I'm on Windows 10 and use WSL2-Ubuntu 20.04 LTS with…

Michael
- 33
- 5
3
votes
1 answer
How to open public access to postgresql deployed on okteto?
I deployed postgresql to okteto with the following configurations:
And then I add
annotations:
dev.okteto.com/auto-ingress: "true"
to the service/postgresql.
Now the dashboard shows:
But if I clicked the link above, it shows my…

Jeff Tian
- 5,210
- 3
- 51
- 71
2
votes
1 answer
Endpoint given by Okteto can't be reached
I'm new to app deployment. I wanted to deploy this AI model from MAX-Image-Caption-Generator. For deploying the model, I use Okteto and this is what I've done:
Create docker-compose.yml like this:
version: "3.9"
services:
…

Shannia
- 61
- 7
2
votes
0 answers
C module import in Python (Using Cython)
How do I import a C module in python that was generated with Cython?
I have tried the normal way:
from app.CythonOperations import executor_unpack
Could this be that python3 may not be able to recognize cpdef or cdef functions in C?
When running it…

Martin Mashalov
- 43
- 4
2
votes
1 answer
Websockets on Okteto cloud?
Is there currently a way to serve websockets from an application deployed on Okteto cloud given the okteto-specific limitations around Ingresses and Services ?
I've read that this would only be possible using a Service or Ingress of type…

Nicolas Marshall
- 4,186
- 9
- 36
- 54
1
vote
1 answer
Okteto scaling deployment back to 1 replica
I am using Okteto to develop in my k8s cluster (not to deploy or build).
When my deployment has 2 replicas, Okteto scales it back to 1.
Is there any way to prevent this (i.e. have Okteto map my code changes into the 2 pods and not scale it back to…

pecks
- 318
- 1
- 2
- 9
1
vote
1 answer
Improving Web Performance Deployed on Okteto
I'm new in website deployment. I have this assignment where I have to deploy an existing website using kubernetes and improve its performance by doing auto scaling. I choose this app https://github.com/IBM/MAX-Image-Caption-Generator-Web-App. I…

Shannia
- 61
- 7
1
vote
1 answer
Okteto doesn't sync file changes even though syncthing reports changes
I'm using Okteto CLI version 2.2.1, MacOS Monterey (Macbook 2015). I've cloned and deployed their playground app and created the following Okteto configuration:
name: movies-with-compose
# The build section defines how to build the images of your…

Yos
- 1,276
- 1
- 20
- 40
1
vote
1 answer
Python Remote Debug Server not stopping at breakpoint when using Okteto with PyCharm
Overview
I am currently following How to Develop and Debug Python Applications on Kubernetes in order to debug a simple hello-world deployment using Okteto.
Everything seems to work but for some reason the debugger is not stopping at the breakpoint…

Stefan Falk
- 23,898
- 50
- 191
- 378
1
vote
1 answer
Cannot retrieve needed files for okteto on Windows behind proxy
I'm trying to deploy okteto environment on Visual Studio Code to use Remote Development on Kubernetes.
Following the official steps (https://okteto.com/blog/remote-kubernetes-development/), I executed "Okteto: up" and selected…

Daigo
- 815
- 1
- 5
- 16
1
vote
0 answers
Remote Kubernetes development in Spyder (Python) with Okteto
For Visual Studio Code (VSC) it is possible to install the Remote-Kubernetes extension which allows you to work directly with remote development environments, spinning them up, configuring them etc. More info here.
Is something similar possible for…

Sanjuro
- 21
- 2
1
vote
1 answer
Share PersistentVolumeClaims between pods/deployments on Okteto
With Okteto Cloud, in order to let different pods/deployments access a shared PersistentVolumeClaim, I tried setting the PersistentVolumeClaim's accessModes to "ReadWriteMany":
{
"kind": "PersistentVolumeClaim",
"apiVersion": "v1",
…

Nicolas Marshall
- 4,186
- 9
- 36
- 54
0
votes
0 answers
Not able to connect wordpress website with rasa and okteto
I'm trying to connect my rasa bot to WordPress while deploying rasa to Okteto I keep getting some or the other error this is the error that I'm facing right now. When I check Chrome console it throws 404 sometimes 500 I really don't understand how…

Ayan Shaikh
- 23
- 1
- 6