Category : kubernetes-helm

I have defined the values.yaml like the following: name: custom-streams image: streams-docker-images imagePullPolicy: Always restartPolicy: Always replicas: 1 port: 8080 nodeSelector: nodetype: free configHocon: |- streams { monitoring { custom { uri = ${?URI} method = ${?METHOD} } } } And configmap.yaml like the following: apiVersion: v1 kind: ConfigMap metadata: name: custom-streams-configmap data: config.hocon: {{ ..

Read more

This is something that somehow no search anywhere would turn up. I’m using the Confluent Kafka Connect image, deployed into a K8S cluster via Helm. I’ve made a new image out of their base image so that I have certain Connector Plugins pre-installed. FROM confluentinc/cp-kafka-connect-base:6.1.0 RUN confluent-hub install –no-prompt mongodb/kafka-connect-mongodb:1.5.0 When the container starts, I’d ..

Read more

I’m using someone else’s helm release of blackbox exporter that is configured to scrape a bunch of endpoints and it seemed to be doing so correctly. I’m planning to add different endpoints but I’ve noticed that, out of the templates in my working directory (for configuring the custom endpoints in the helm release), there are ..

Read more

I am setting up kubernetes for an application with 8 microservices,activemq,postgres,redis and mongodb. After the entire configuration of pods and deployment ,is there any way to create a single master deployment yaml file which will create the entire set of services,replcas etc for the entire application. Note:I will be using multiple deployment yaml files,statefulsets etc ..

Read more

I used the following helm chart to install Jenkins https://artifacthub.io/packages/helm/jenkinsci/jenkins The problem is it does’t build docker images, saying there’s no docker. Docker was installed on host with sudo apt install docker-ce docker-ce-cli containerd.io var/jenkins_home/workspace/[email protected]/durable-23187d38/script.sh: 2: /var/jenkins_home/workspace/[email protected]/durable-23187d38/script.sh: docker: not found There was also another error Caused: java.io.IOException: Cannot run program "docker": error=2, No such file ..

Read more

Docker Image: – docker images | grep -i "gcc" gcc-docker latest 84c4359e6fc9 21 mites ago 1.37GB docker run -it gcc-docker:latest hello,world Kubernetes pod deployed:- Events: Type Reason Age From Message —- —— —- —- ——- Normal Scheduled <unknown> default-scheduler Successfully assigned default/hello-world to master-node Normal Pulling 4s kubelet, master-node Pulling image "gcc-docker:latest" Warning Failed 0s ..

Read more

I use helm3 to deploy into k8s. Sometimes I need to "wrap" docker entry point for various reasons. One of them is to fill right environment (envs). Usually I do it like this: deployment.yaml … image: "{{ .Values.image.repository }}" command: ["/usr/bin/dumb-init", "–"] args: ["bash", "-c", "my-script.sh && exec /root/entrypoint"] … It works well, but as ..

Read more

Since 3 days, i have a problem with a deployment in kubernetes. I would like to deploy two react-js application : the first in http://app.my-domain.com and the other in http://app.my-domain.com/shop NB: the two url is fake, it’s just for example. The first react application was very well deployed in http://app.my-domain.com . Now when i want ..

Read more