apiVersion: apps/v1
kind: Deployment
metadata:
  name: app-a1
  namespace: test-kahoy
  labels:
    app: app-a1
  annotations:
    app: app-a1
spec:
  replicas: 2
  selector:
    matchLabels:
      app: app-a1
  template:
    metadata:
      labels:
        app: app-a1
    spec:
      containers:
      - name: nginx
        image: nginx:latest
        ports:
        - name: http
          containerPort: 80
          protocol: TCP
