2024-10-07 09:19:39 +02:00
|
|
|
# ---
|
|
|
|
# apiVersion: v1
|
|
|
|
# kind: Namespace
|
|
|
|
# metadata:
|
|
|
|
# name: egress
|
|
|
|
# ---
|
|
|
|
# apiVersion: apps/v1
|
|
|
|
# kind: Deployment
|
|
|
|
# metadata:
|
|
|
|
# name: egress-deployment
|
|
|
|
# namespace: egress
|
|
|
|
# labels:
|
|
|
|
# app: egress
|
|
|
|
# spec:
|
|
|
|
# replicas: 3
|
|
|
|
# selector:
|
|
|
|
# matchLabels:
|
|
|
|
# app: egress
|
|
|
|
# template:
|
|
|
|
# metadata:
|
|
|
|
# labels:
|
|
|
|
# app: egress
|
|
|
|
# spec:
|
|
|
|
# containers:
|
|
|
|
# - name: egress
|
|
|
|
# image: curlimages/curl
|
|
|
|
# command: ['/usr/bin/curl']
|
|
|
|
# args: ['-s', '-L', '-4', 'ip.hetzner.com']
|
|
|
|
# ---
|
|
|
|
# apiVersion: apps/v1
|
|
|
|
# kind: Deployment
|
|
|
|
# metadata:
|
|
|
|
# name: egress6-deployment
|
|
|
|
# namespace: egress
|
|
|
|
# labels:
|
|
|
|
# app: egress6
|
|
|
|
# spec:
|
|
|
|
# replicas: 3
|
|
|
|
# selector:
|
|
|
|
# matchLabels:
|
|
|
|
# app: egress6
|
|
|
|
# template:
|
|
|
|
# metadata:
|
|
|
|
# labels:
|
|
|
|
# app: egress6
|
|
|
|
# spec:
|
|
|
|
# containers:
|
|
|
|
# - name: egress6
|
|
|
|
# image: curlimages/curl
|
|
|
|
# command: ['/usr/bin/curl']
|
|
|
|
# args: ['-s', '-L', '-6', 'ip.hetzner.com']
|