Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 538 Bytes

File metadata and controls

26 lines (19 loc) · 538 Bytes

1.Docker

Create simple app(eg. in Pythonie or Node.js), that will:

  • return "Hello DevOps" on / (root Directory)
  • Write Dockerfile to do that
  • Create image and run it locally
  1. K8S (kubernets)

Create:

  • Deployment (1–2 replicas)
  • Service (ClusterIP or NodePort) Make sure the app is working in a Cluster
  1. Helm

Create simple Helm Chart for that app:

  • Deployment and Service as templates
  • values.yaml containing:
    • image.repository
    • image.tag
    • replicaCount
  1. Install app using:

helm install my-app ./chart