96 lines
2.2 KiB
YAML
96 lines
2.2 KiB
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -o deployment.yaml -n sshx-server
|
|
kompose.image-pull-secret: regcred
|
|
kompose.service.expose: sshx.wayl.one
|
|
kompose.service.type: loadbalancer
|
|
kompose.version: 1.31.2 (a92241f79)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: sshx-server-tcp
|
|
name: sshx-server-tcp
|
|
namespace: sshx-server
|
|
spec:
|
|
ports:
|
|
- name: "8051"
|
|
port: 8051
|
|
targetPort: 8051
|
|
selector:
|
|
io.kompose.service: sshx-server
|
|
type: LoadBalancer
|
|
status:
|
|
loadBalancer: {}
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: sshx-server
|
|
namespace: sshx-server
|
|
spec: {}
|
|
status: {}
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -o deployment.yaml -n sshx-server
|
|
kompose.image-pull-secret: regcred
|
|
kompose.service.expose: sshx.wayl.one
|
|
kompose.service.type: loadbalancer
|
|
kompose.version: 1.31.2 (a92241f79)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: sshx-server
|
|
name: sshx-server
|
|
namespace: sshx-server
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: sshx-server
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
kompose.cmd: kompose convert -o deployment.yaml -n sshx-server
|
|
kompose.image-pull-secret: regcred
|
|
kompose.service.expose: sshx.wayl.one
|
|
kompose.service.type: loadbalancer
|
|
kompose.version: 1.31.2 (a92241f79)
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.network/sshx-server-default: "true"
|
|
io.kompose.service: sshx-server
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- sh
|
|
- -c
|
|
- './sshx-server --listen :: --host "https://sshx.wayl.one" --secret=hello'
|
|
image: registry.wayl.one/sshx-server
|
|
name: sshx-server
|
|
ports:
|
|
- containerPort: 8051
|
|
protocol: TCP
|
|
resources: {}
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
restartPolicy: Always
|
|
status: {}
|
|
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: TLSOption
|
|
metadata:
|
|
name: default
|
|
namespace: default
|
|
|
|
spec:
|
|
alpnProtocols:
|
|
- http/1.1
|
|
- h2
|