33 lines
646 B
YAML
33 lines
646 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: statping
|
|
namespace: statping
|
|
labels:
|
|
app: statping
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: statping
|
|
strategy:
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: statping
|
|
spec:
|
|
containers:
|
|
- image: docker.io/hunterlong/statping:v0.90.26
|
|
imagePullPolicy: IfNotPresent
|
|
name: statping
|
|
ports:
|
|
- containerPort: 8080
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- mountPath: /app
|
|
name: app
|
|
volumes:
|
|
- name: app
|
|
persistentVolumeClaim:
|
|
claimName: statping-data
|