Zoe Liao's website

Study Notes

View on GitHub

Deployment

Upgrade

Definition

apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-deployment
  labels:
      app: app
      type: front-end
spec:
  template:
    metadata:
      name: app-pod
      type: front-end
    spec:
      containers:
      - name: nginx-container
        image: nginx
  replicas: 3
  selector:
    matchLabels:
      type: front-end

Others