All checks were successful
CI Pipeline for the Go API / Go Vet (basic static check) (push) Successful in 9s
CI Pipeline for the Go API / Kubernetes Smoke Test (push) Successful in 5s
CI Pipeline for the Go API / Docker Image Build Test (push) Successful in 17s
CI Pipeline for the Go API / Go Build & Cross-Compile (push) Successful in 30s
20 lines
202 B
YAML
20 lines
202 B
YAML
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
name: go-api
|
|
|
|
spec:
|
|
selector:
|
|
app: go-api
|
|
|
|
ports:
|
|
- protocol: TCP
|
|
port: 8080
|
|
targetPort: 8080
|
|
nodePort: 30081
|
|
|
|
type: NodePort
|
|
|