Category : kubernetes

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: ..

Read more

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: ..

Read more

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 ..

Read more

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, ..

Read more