apiVersion: apps/v1 kind: Deployment metadata: name: escape2023-mixlab-events namespace: default spec: replicas: 1 selector: matchLabels: app: escape2023-mixlab-events template: metadata: labels: app: escape2023-mixlab-events spec: containers: - name: escape2023-mixlab-events image: docker.cybre.town/adb/ecape2023-mixlab-events:latest imagePullPolicy: Always resources: limits: memory: "50Mi" cpu: "50m" ports: - containerPort: 8080 imagePullSecrets: - name: docker-cybre-town-adb --- apiVersion: v1 kind: Service metadata: name: escape2023-mixlab-events namespace: default spec: selector: app: escape2023-mixlab-events ports: - port: 8080 targetPort: 8080 --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: escape2023-mixlab-events namespace: default labels: name: escape2023-mixlab-events annotations: cert-manager.io/cluster-issuer: letsencrypt-issuer spec: tls: - secretName: "deploy-cat-cert" hosts: - escape2023.mixlab.events rules: - host: escape2023.mixlab.events http: paths: - pathType: Prefix path: "/" backend: service: name: escape2023-mixlab-events port: number: 8080