Add nyancat server
This commit is contained in:
parent
cadb38126b
commit
34369d211b
9
nyancat/README.md
Normal file
9
nyancat/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# Nyancat server deployment
|
||||
|
||||
Something silly for a change.
|
||||
|
||||
To connect use:
|
||||
|
||||
```
|
||||
telnet nyancat.k-space.ee
|
||||
```
|
49
nyancat/application.yaml
Normal file
49
nyancat/application.yaml
Normal file
@ -0,0 +1,49 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: nyancat
|
||||
namespace: nyancat
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: nyancat
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: nyancat
|
||||
spec:
|
||||
containers:
|
||||
- name: nyancat
|
||||
image: harbor.k-space.ee/k-space/nyancat-server:latest
|
||||
command:
|
||||
- onenetd
|
||||
- -v1
|
||||
- "0"
|
||||
- "2323"
|
||||
- nyancat
|
||||
- -I
|
||||
- --telnet
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: true
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65534
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nyancat
|
||||
namespace: nyancat
|
||||
annotations:
|
||||
metallb.universe.tf/address-pool: eenet
|
||||
external-dns.alpha.kubernetes.io/hostname: nyancat.k-space.ee
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
selector:
|
||||
app.kubernetes.io/name: nyancat
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 23
|
||||
targetPort: 2323
|
Loading…
Reference in New Issue
Block a user