How to create Deployment using YAML Script

 apiVersion: apps/v1
kind: Deployment
metadata:
  name: kkdeployment
spec:
  replicas:3
  selector:
    matchLabels:
      app: kkapp1
  template:
    metadata:
      labels:
        app: kkapp1
    spec:
      containers:
        - name: kkcon1
          image: location and name
          ports:
            - containerPort: 80

Comments

Popular posts from this blog

Top 10 Git Commands

Kubernetes cluster setup NOTES step by step using minikube

SonarQube Installation & Configuration Step by step