mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 14:49:44 +00:00
Remove echoserver and nip-io
This commit is contained in:
parent
434e4f6d97
commit
379b5c6df8
5 changed files with 0 additions and 115 deletions
|
|
@ -1,20 +0,0 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: echoserver
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: echoserver
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: echoserver
|
||||
spec:
|
||||
containers:
|
||||
- image: k8s.gcr.io/echoserver:1.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: echoserver
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: echoserver
|
||||
spec:
|
||||
selector:
|
||||
app: echoserver
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: echoserver
|
||||
spec:
|
||||
rules:
|
||||
- host: echo.home.shoup.io
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 8080
|
||||
path: /
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: nip-io
|
||||
data:
|
||||
backend.conf: |
|
||||
[main]
|
||||
domain=lcl.home.shoup.io
|
||||
ttl=432000
|
||||
ipaddress=127.0.0.1
|
||||
[soa]
|
||||
id=1
|
||||
hostmaster=hostmaster@lcl.home.shoup.io
|
||||
ns=ns1.lcl.home.shoup.io
|
||||
[nameservers]
|
||||
ns1.lcl.home.shoup.io=127.0.0.1
|
||||
ns2.lcl.home.shoup.io=127.0.0.1
|
||||
[blacklist]
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
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:2
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: nip-io
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /usr/local/bin/backend.conf
|
||||
subPath: backend.conf
|
||||
ports:
|
||||
- containerPort: 53
|
||||
name: dns-tcp
|
||||
protocol: TCP
|
||||
- containerPort: 53
|
||||
name: dns-udp
|
||||
protocol: UDP
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
name: nip-io
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
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