$ cat service-web.yaml apiVersion: v1 kind: Service metadata: labels: app: zabbix name: zabbix-web namespace: zabbix spec: ports: - name: zabbix-web port: 80 protocol: TCP targetPort: 8080 selector: app: zabbix type: ClusterIP