mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-25 16:28:53 +01:00
33 lines
576 B
YAML
33 lines
576 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hishtory-static
|
|
spec:
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
selector:
|
|
app: hishtory-static
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hishtory-static
|
|
spec:
|
|
revisionHistoryLimit: 5
|
|
selector:
|
|
matchLabels:
|
|
app: hishtory-static
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hishtory-static
|
|
spec:
|
|
containers:
|
|
- name: hishtory-static
|
|
image: gcr.io/dworken-k8s/hishtory-static
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 80
|