Untitled
unknown
plain_text
4 years ago
1.0 kB
6
Indexable
apiVersion: apps/v1 kind: Deployment metadata: name: web namespace: awx spec: selector: matchLabels: run: web template: metadata: labels: run: web spec: containers: - image: gcr.io/google-samples/hello-app:1.0 imagePullPolicy: IfNotPresent name: web ports: - containerPort: 8080 protocol: TCP --- apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: hello-ingress namespace: awx annotations: cert-manager.io/cluster-issuer: letsencrypt-prod spec: rules: - host: hello.redacted.sh http: paths: - path: / backend: serviceName: hello-service servicePort: 80 tls: - hosts: - hello.redacted.sh secretName: hello-tls --- apiVersion: v1 kind: Service metadata: name: hello-service namespace: awx spec: selector: app: web ports: - protocol: TCP port: 80 targetPort: 8080 type: LoadBalancer
Editor is loading...