Category : deployment

I have created a k8s cluster by installing "kubelet kubeadm kubectl". Now i’m trying to Deploy microservice application as docker build -t demoserver:1.0 . =>image created successfully kubectl run demoserver –image=demoserver –port=8000 –image-pull-policy=Never =>POD STATUS: ErrImageNeverPull I tried " eval $(minikube docker-env)" but it says bash: minikube: command not found… Do i need to install ..

Read more

I have a very simple HTML called index.html file which generates a website along with some javascript and css. In the same folder, there’s a Dockerfile of my creation with the following lines : # use nginx:alpine as base image FROM nginx:alpine # copy static website index.html into nginx default html folder COPY index.html /usr/share/nginx/html ..

Read more

I switched from distroless/java:8 to distroless/java:8-debug container and, when deployed to kubernetes, I started getting following error: Error: Unable to access jarfile /MyApp-0.1.jar This is my Dockerfile: FROM gcr.io/distroless/java:8-debug LABEL CONTAINER_NAME=my-api ARG JAR_FILE=MyApp/core/build/libs/core-0.1-boot.jar COPY ${JAR_FILE} MyApp-0.1.jar ENTRYPOINT ["java","-jar","/MyApp-0.1.jar"] While I was using regular distroless (everything else was the same) I didn’t have this problem. What ..

Read more

This is my travis.yml file and this is the latest run https://travis-ci.com/github/harryyy27/allies-art-club: sudo: required language: generic services: – docker stages: – dev – prod jobs: include: – stage: dev if: NOT(branch=master) scripts: – docker build -t harryyy27/allies_art_club/frontend -f ./client/Dockerfile.dev ./client – docker build -t harryyy27/allies_art_club/backend -f ./src/Dockerfile.dev ./src – docker run -e CI=true harryyy27/allies_art_club/frontend npm ..

Read more

I’m working on a SaaS application which at the moment is cloud only. It’s a traditional Java web application which we deploy to AWS. We rely on AWS concepts like RDS, S3, ELB, Autoscaling and for infrastructure provisioning AMIs, Cloudformation, Ansible and CodeDeploy. There is now more and more demand for on-premise deployments by potential ..

Read more