This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/ipapi/deployment.yaml
Tobias Brunner 6d2e8c9c0e correct args for ipapi
This is really bad and it has stolen 3h from my live. I should have
known it!
2020-05-26 00:14:48 +02:00

41 lines
786 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ipapi
name: ipapi
namespace: ipapi
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: ipapi
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: ipapi
spec:
containers:
- image: docker.io/mpolden/echoip:latest
imagePullPolicy: Always
name: ipapi
args:
- -H
- X-Forwarded-For
ports:
- containerPort: 8080
name: http
protocol: TCP
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30