apiVersion: v1 items: - apiVersion: v1 kind: Service metadata: annotations: "external-dns.alpha.kubernetes.io/cloudflare-proxied": 'false' "external-dns.alpha.kubernetes.io/hostname": helloworld.cetacean.club "external-dns.alpha.kubernetes.io/ttl": '120' labels: app: helloworld name: helloworld namespace: apps spec: ports: - port: 8000 targetPort: 8000 selector: app: helloworld type: ClusterIP - apiVersion: apps/v1 kind: Deployment metadata: name: helloworld namespace: apps spec: replicas: 1 selector: matchLabels: app: helloworld template: metadata: labels: app: helloworld name: helloworld spec: containers: - image: "xena/helloworld:latest" imagePullPolicy: Always name: web ports: - containerPort: 8000 imagePullSecrets: - name: regcred - apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: annotations: "certmanager.k8s.io/cluster-issuer": "letsencrypt-prod" kubernetes.io/ingress.class: nginx labels: app: helloworld name: helloworld namespace: apps spec: rules: - host: helloworld.cetacean.club http: paths: - backend: serviceName: helloworld servicePort: 8000 tls: - hosts: - helloworld.cetacean.club secretName: "prod-certs-helloworld" kind: List