This commit is contained in:
parent
f45ca8b151
commit
cf530e3603
45
k8s/deploy.yaml
Normal file
45
k8s/deploy.yaml
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: birb-latency-testpoint
|
||||||
|
namespace: birbnetes
|
||||||
|
labels:
|
||||||
|
app: birb-latency-testpoint
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: birb-latency-testpoint
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: birb-latency-testpoint
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: frontend
|
||||||
|
image: registry.kmlabz.com/birbnetes/birb_latency_testpoint
|
||||||
|
imagePullPolicy: Always
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: regcred
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: birb-latency-testpoint-svc
|
||||||
|
namespace: birbnetes
|
||||||
|
labels:
|
||||||
|
app: birb-latency-testpoint
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: birb-latency-testpoint
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
protocol: TCP
|
||||||
|
selector:
|
||||||
|
app: birb-latency-testpoint
|
||||||
|
type: ClusterIP
|
Loading…
Reference in New Issue
Block a user