All Questions
Tagged with deployment kubernetes
584
questions
-1
votes
1
answer
9
views
Post curl request in Deployment kind lifecyclehook in deployment yaml file with Openshift upgrade to 4.14
As by OpenShift 4.14, DeploymentConfig is getting deprecated and we need to use kind:Deployment
Previous we use something like this for sending notification for deployment:
kind: DeploymentConfig ...
0
votes
0
answers
16
views
how to make nvidia.com/gpu available in k8s node
when i describe node, there is no gpu resource, why?
(this is the node description)
I have installed nvidia driver
(this is nvidia driver for tesla p4)
I have installed nvidia container toolkit, and ...
1
vote
1
answer
81
views
Is there a way to mount only the file from k8s secret to a pod without disturbing the existing files in the location?
I am trying to mount a file secret.txt from the secret to location /opt/tomcat/conf/secret.txt. there are other files at the same location e.g. /opt/tomcat/conf/creds.txt that I want to retain.
This ...
0
votes
1
answer
49
views
Flask Postgres Kubernetes No such file
I have a Flask + Postgres application, containerized with docker-compose.
services:
database:
image: postgres:latest
container_name: hse-database
volumes:
- postgres_data:/var/lib/...
0
votes
0
answers
27
views
Cannot access the media files in production via Nginx
I am trying to access the media files using Nginx.
The file exists in the directory: /usr/src/app/backend/media/profile/c4ebe33d-7da1-4a62-bb17-8da254d69b36, where the part profile/c4ebe33d-7da1-4a62-...
0
votes
1
answer
59
views
ImagePullBackOff or ErrImagePull error while deploying app to kubernetes
I try to deploy my application to Kubernetes environment. But I get ImagePullBackOff or ErrImagePull errors.
My app.yaml file for k8s configuration.
apiVersion: apps/v1
kind: Deployment
metadata:
...
0
votes
1
answer
57
views
Nuxt deployment with ingress
I have this configuration in my "ingress"
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-nginx-rewrite
namespace: ns-apropo-uat
annotations:
nginx.ingress....
0
votes
0
answers
12
views
Rancher Kubernetes automatic pod restart [duplicate]
Is there a way to automatically restart 7 pods of my application in a specific namespace within my Kubernetes cluster every morning? Do Kubernetes Rancher or deployment.yaml require any updates for ...
0
votes
0
answers
42
views
Trouble deploying to Digital Ocean k8
I am currently trying to deploy a microservice to a Digital Ocean k8 cluster using Github actions. It is a C# microservice project (aggregator - services).
I have created a workflow but am getting ...
-3
votes
1
answer
231
views
Unhandled error event: Error: connect ETIMEDOUT in Kubernetes cluster on DigitalOcean
I'm using DigitalOcean for deployment. I have NestJs app and KeyDb(Redis alternative) containers.
I folowed this guide to convert my Docker Compose file to k8s. After successfull deployment on the ...
0
votes
2
answers
56
views
Kubernetes strange behavior with Persistent Volume Claim and volumeMounts
I can't understand why there are differences in the pod filesystem, when this is deployed using a volumeMount, compared to the same pod but without a volumeMount, in details using the following ...
1
vote
1
answer
96
views
How to apply custom profiles/setting to Spinnaker to make it deploy with one command?
I'm trying to deploy Spinnaker to k8s cluster using Halyard that running in Docker container. Thing is, I've configured all by using hal commands, but official docs says that there is a way to do it ...
0
votes
0
answers
87
views
Connecting to Mongo stateful set from another pod (Node js) in Kubernetes
I'm new to kubernetes and learning to launch stateful set using mongo image.
I have a statefulset.yaml which creates a mongo stateful set and a headless service using ClusterIp. On the other pod, I ...
0
votes
1
answer
170
views
cant route traffic to different services using istio ingress gateway
i am new to istio. i have a app deployed on k8s cluster. i want to expose a service to internet using istio ingress gateway. my service runs on port 80. so i created a gateway and virtual service yaml ...
0
votes
0
answers
183
views
Have a lot of strange connections to postgres
I have deployed postgres database on google cloud by kubernetes. I only use DataGrip to run some sql scripts and test the database. I haven't run any additional services or programs.
After I left the ...