Skip to content

This repository is solution for a challenge posted in learnk8.

Notifications You must be signed in to change notification settings

rishi-anand/kubernetes-challenge-completed

Repository files navigation

Kubernetes Challenge

Question

Alt text

Solution

Verify the solution by navigating to below endpoint.

🔸Note: Above endpoint is not accessible as this deployment and other related resources was deleted at 00:00 Hrs on 22nd May 2018 to reduce carbon footprints.

🍏Go Green 🍏

Alt text

Steps to build DockerFile and upload image to docker hub

  1. Build docker image.
    $ docker build -t kubernetes-challenge .
  2. Add tag in image based on username and docker respository.
    $ docker tag kubernetes-challenge rishianand/k8s:base
  3. Upload image to docker hub.
    $ docker push rishianand/k8s:base

Deploy below yaml file(s) in k8s

I have deployed below yaml files.

Yamls Link
Service https://github.com/rishi-anand/kubernetes-challenge-completed/blob/master/service-nodeport.yaml
Ingress https://github.com/rishi-anand/kubernetes-challenge-completed/blob/master/ingress.yaml
Config Map https://github.com/rishi-anand/kubernetes-challenge-completed/blob/master/config_map.yaml
Deployment https://github.com/rishi-anand/kubernetes-challenge-completed/blob/master/deployment.yaml

About

This repository is solution for a challenge posted in learnk8.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published