Files
AI-Red-Teaming-Playground-L…/k8s/conf/rce-challenge-service.yaml
microsoft-github-operations[bot] 6659812f5b Initial commit
2025-05-18 06:12:26 -07:00

46 lines
761 B
YAML

apiVersion: v1
kind: Service
metadata:
name: rce-challenge-service
spec:
ports:
- port: 8000
name: http
protocol: TCP
targetPort: 8000
- port: 8080
name: http-mgmt
protocol: TCP
targetPort: 8080
- port: 8081
name: http-mgmt2
protocol: TCP
targetPort: 8081
---
apiVersion: discovery.k8s.io/v1
kind: EndpointSlice
metadata:
name: rce-challenge-service-1
labels:
kubernetes.io/service-name: rce-challenge-service
addressType: IPv4
ports:
- name: http
appProtocol: HTTP
protocol: TCP
port: 8000
- name: http-mgmt
appProtocol: HTTP
protocol: TCP
port: 8080
- name: http-mgmt2
appProtocol: HTTP
protocol: TCP
port: 8081
endpoints:
- addresses:
- "10.18.0.4"