Skip to content

jayolinares/k8s-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

k8s-test

It's a DIY kind of tech assessment, as long as you can demonstrate your skills in Kubernetes.

I got the app already packaged in a Docker image and has been published to Docker Hub.

The application is deployed in a Kubernetes cluster with HPA (auto-scaling) enabled. The point of entry for traffic is via an Ingess.

I've also use Helm chart for this assessment (easier to re-use in the future!)

Dependencies:

  • Kubernetes cluster, of course.
  • install helm and kubectl.

Deployment instructions:

  1. Install the Helm chart
helm upgrade --install mytest mytest-chart
  1. Install the Nginx controller and the ingress.
helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.github.io/ingress-nginx --namespace ingress-nginx --create-namespace
kubectl apply -f ingress.yaml

Verify that it's working:

kubectl get ingress -A

You should see a public IP assigned. Now access the IP with the prefix/path as per Ingress manifest. (eg. http://1.1.1.1/web )

About

Tech assessment from the previous job

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published