28 lines
No EOL
567 B
YAML
28 lines
No EOL
567 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: prosody
|
|
namespace: NAMESPACE
|
|
labels:
|
|
app.kubernetes.io/name: prosody
|
|
app.kubernetes.io/component: prosody
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- port: 5280
|
|
protocol: TCP
|
|
name: tcp-bosh-insecure
|
|
- port: 5281
|
|
protocol: TCP
|
|
name: tcp-bosh-secure
|
|
- port: 5347
|
|
protocol: TCP
|
|
name: tcp-xmpp-component
|
|
- port: 5222
|
|
protocol: TCP
|
|
name: tcp-xmpp-c2
|
|
- port: 5269
|
|
protocol: TCP
|
|
name: tcp-xmpp-s2
|
|
selector:
|
|
app.kubernetes.io/name: prosody |