123456789101112131415161718192021222324252627282930313233 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: 3proxy
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: 3proxy
- app.kubernetes.io/part-of: 3proxy
- strategy:
- type: Recreate
- template:
- metadata:
- labels:
- app.kubernetes.io/name: 3proxy
- app.kubernetes.io/part-of: 3proxy
- spec:
- hostNetwork: true
- containers:
- - image: docker-registry.wugi.info/networking/3proxy:latest
- name: 3proxy
- resources:
- limits:
- memory: 512Mi
- volumeMounts:
- - mountPath: /etc/3proxy.cfg
- subPath: 3proxy.cfg
- name: 3proxy-configuration
- volumes:
- - name: 3proxy-configuration
- configMap:
- name: 3proxy-configuration
|