63 lines
1.1 KiB
YAML
63 lines
1.1 KiB
YAML
---
|
|
# Source: httpbin/templates/service.yaml
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: httpbin-httpbin
|
|
labels:
|
|
app: httpbin
|
|
chart: httpbin-0.1.0
|
|
release: httpbin
|
|
heritage: Helm
|
|
spec:
|
|
type: LoadBalancer
|
|
ports:
|
|
- port: 8000
|
|
targetPort: 8000
|
|
protocol: TCP
|
|
name: httpbin
|
|
selector:
|
|
app: httpbin
|
|
release: httpbin
|
|
---
|
|
# Source: httpbin/templates/deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: httpbin-httpbin
|
|
labels:
|
|
app: httpbin
|
|
chart: httpbin-0.1.0
|
|
release: httpbin
|
|
heritage: Helm
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: httpbin
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: httpbin
|
|
release: httpbin
|
|
spec:
|
|
containers:
|
|
- name: httpbin
|
|
image: "docker.io/citizenstig/httpbin:0.0.1"
|
|
imagePullPolicy: Never
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 8000
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 8000
|
|
ports:
|
|
- containerPort: 8000
|
|
resources:
|
|
{}
|
|
|
|
status: {}
|