upload manifests
This commit is contained in:
61
asyncapi.yml
Normal file
61
asyncapi.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: asyncapi
|
||||
namespace: asyncapi
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: asyncapi
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: asyncapi
|
||||
spec:
|
||||
containers:
|
||||
- name: asyncapi
|
||||
image: registry.kmlabz.com/birbnetes/asyncapi
|
||||
imagePullPolicy: "Always"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: asyncapi
|
||||
namespace: asyncapi
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
name: http
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: asyncapi
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: asyncapi
|
||||
namespace: asyncapi
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- asyncapi.kmlabz.com
|
||||
secretName: asyncapi-cert-secret
|
||||
rules:
|
||||
- host: asyncapi.kmlabz.com
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: asyncapi
|
||||
servicePort: http
|
||||
Reference in New Issue
Block a user