Untitled

mail@pastecode.io avatar
unknown
yaml
2 years ago
361 B
3
Indexable
Never
apiVersion: apps/v1

kind: Deployment

metadata:

  name: myapp-deployment

  labels:

    app: myapp

spec:

  replicas: 1

  selector:

    matchLabels:

      app: myapp

  template:

    metadata:

      labels:

        app: myapp

    spec:

      containers:

      - name: myapp

        image: myapp:latest

        ports:

        - containerPort: 80