apiVersion: v1
kind: Service
metadata:
  name: prometheus-public
  namespace: monitoring
  annotations:
    service.kubernetes.io/ibm-load-balancer-cloud-provider-vpc-allow-outbound-traffic: "443"
  labels:
    app.kubernetes.io/managed-by: ibm
    app.kubernetes.io/part-of: managed-ingress
    app.kubernetes.io/vpcComponent: prometheus-public
spec:
  type: LoadBalancer
  selector:
    app.kubernetes.io/name: prometheus
    operator.prometheus.io/name: prometheus-operator-kube-p-prometheus
  ports:
    - name: http
      protocol: TCP
      port: 80
      targetPort: 9090
    - name: https
      protocol: TCP
      port: 443
      targetPort: 9090
  externalTrafficPolicy: Cluster
  allocateLoadBalancerNodePorts: true
  