apiVersion: v1
kind: Service
metadata:
  annotations:
    kubernetes.io/created-by: kubesphere.io/ks-apiserver
  labels:
    app: ks-apiserver
    tier: backend
    version: advanced-1.0.0
  name: ks-apiserver
  namespace: kubesphere-system
spec:
  ports:
    - port: 80
      protocol: TCP
      targetPort: 9090
  selector:
    app: ks-apiserver
    tier: backend
    version: advanced-1.0.0
  type: ClusterIP