詹金斯服务文件
{ apiVersion: v1
kind: Service
metadata:
name: jenkins
spec:
ports:
- port: 8080
protocol: TCP
targetPort: 8080
nodePort: 30000
externalIPs:
- A.B.C.D
selector:
app: jenkins
type: NodePort
}
背景: 我想访问 Kubernetes 上的仪表板,该服务在 Kubernetes 集群上运行,我找不到更多关于如何访问 jenkins 仪表板的文档。- 我需要在服务文件中进行更多配置吗?- 有没有其他选择或方法可以做到这一点?