I’m trying to create a BuildConfig to automatically build a docker image and store it to the GitLab docker registry. buildconfig.yaml kind: "BuildConfig" apiVersion: "v1" metadata: name: "tracker-build" spec: runPolicy: "Serial" triggers: – type: "GitLab" gitlab: secretReference: name: "webhooksecret" source: git: uri: "https://gitlab.com/USERNAME/rayan_tracker_paas.git" sourceSecret: name: gitsecret strategy: dockerStrategy: forcePull: true output: to: kind: "DockerImage" name: ..
I am trying to figure out the networking in Kubernetes, and especially the handling of multicontainer pods. In my simple scenario, I have 2 pods. One has two containers in it and the other one has only one container which wants to communicate with a specific container in that multicontainer pod. I want to figure ..
I am trying out the newly added container image support for AWS Lambda service. I have built a custom image using python-alpine as the base image. I have used the same Dockerfile mentioned in the article above. I am also able to invoke it using below command : curl -v -X POST http://localhost:9000/2015-03-31/functions/function/invocations -H ‘Content-Type: ..
I’m looking for a chaos testing tool to run in a Kubernetes environment. I have a micro-services environment in which every service runs on a separate pod. I’m looking to cause network connectivity issues, file system errors, services crash, and so on. I want to do it – and this is the most important part ..
So I am trying to build my first Kubernets solution and please if I have anything in a very wrong state, point me to correct documentation! I have read alot at this time and maybe I have all mixed… So I have a very simple API in Net Core 5.0 and I want it to ..
I’ve been a PHP Symfony developer since a long time now, and there is a question I still did not find an answer. "What is the best practice for API versioning?". In my last project we have chosen to versioned the API via the code, but In my experience this king of approach make the ..
I have built a docker image for Laravel (i’m using docker for windows) using docker-compose build app command and i’ve pushed it to docker hub successfully the problem is : when i do docker compose -d up i’m getting 3 containers running as expected (nginix + mysql + the app) When i test the image ..
I am trying to run kiwitcms/kiwi image on Kubernetes. I got the service, pod and deployment run. NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR deployment.apps/kiwi 1/1 1 1 29m kiwi kiwitcms/kiwi:latest run=kiwi NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR service/kiwi ClusterIP 10.108.84.90 <none> 80/TCP 29m run=kiwi NAME READY STATUS RESTARTS AGE IP NODE NOMINATED ..
I have a Jar running code leveraging the hadoop libraries with the LocalFilesystem. This code is running in Docker and deployed on a remote Kubernetes cluster. I can run this code locally in a Docker container and it works fine. When I deploy I get this error: Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.apache.hadoop.conf.Configuration.getLong(String, ..
I have multiple k8s cluster on the cloud and I wanted to use docker desktop UI to change the context. The problem is, my docker desktop panel not showing "Kubernetes" menu. I have tried to run kubectl config get-contexts and it shows 3 contexts. One is docker-desktop and the other two are my contexts. Current ..