skip to Main Content

Mongodb – Configure Mongo with TLS

I'm working on configuring my Mongo 4.2 with TLS using minikube. These are my arguments: --auth --tlsMode requireTLS --tlsCertificateKeyFile /etc/ssl/mongodb-test-ca.crt --tlsCAFile /etc/ssl/test-ca.pem --oplogSize 32 --quiet --replSet myreplicaset --logpath /dev/stdout I'm getting this error: cannot read certificate file: /etc/ssl/mongodb-test-ca.key error:0909006C:PEM routines:get_name:no…

VIEW QUESTION

Docker – Kubernetes doesn't find a jar file

I'm using this Dockerfile configuration FROM openjdk:17-alpine ARG APP_HOME=/app WORKDIR $APP_HOME COPY ./target/ws-exec.jar ws.jar ENV JAVA_OPTS="-Dspring.profiles.active=prod -Dspring.application.name=words" ENTRYPOINT java $JAVA_OPTS -jar ./ws.jar $JAVA_ARGS After deploying it to minikube, I see the only log: Error: Unable to access jarfile /ws.jar. I've…

VIEW QUESTION

Nginx ingress controller returns 404

I am trying to create Ingress for my kubernetes service. I am using minikube running on WSL2. Here are my deployment, service and ingress settings apiVersion: apps/v1 kind: Deployment metadata: name: {{.Chart.Name}}-backend labels: app: {{.Chart.Name}}-backend spec: replicas: {{ .Values.replicas }}…

VIEW QUESTION
Back To Top
Search