mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 14:49:44 +00:00
Add nip.io workload
This commit is contained in:
parent
0948927bc1
commit
b01691077a
1 changed files with 45 additions and 0 deletions
45
workloads/nip-io.yml
Normal file
45
workloads/nip-io.yml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nip-io
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nip-io
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nip-io
|
||||
spec:
|
||||
containers:
|
||||
- image: shouptech/nip.io
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nip-io
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns_tcp
|
||||
protocol: TCP
|
||||
- containerPort: 53
|
||||
name: dns_udp
|
||||
protocol: UDP
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: nip-io
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: nip-io
|
||||
ports:
|
||||
- name: dns_tcp
|
||||
protocol: TCP
|
||||
port: 53
|
||||
nodePort: 31053
|
||||
targetPort: dns_tcp
|
||||
- name: dns_udp
|
||||
protocol: UDP
|
||||
port: 53
|
||||
nodePort: 31053
|
||||
targetPort: dns_udp
|
||||
Loading…
Add table
Reference in a new issue