How to configure multiple services in the serviceTemplate template?
this was my yaml, I declared a LoadBalancer type, but I also want to add a ClusterIP type service, which means I need two services. How should I do it?
defaults:
templates:
dataVolumeClaimTemplate: tcloud-log-clickhouse
podTemplate: clickhouse:24.3
serviceTemplate: tcloud-log-clickhouse-service-template
-
- name: tcloud-log-clickhouse-service-template
generateName: "{chi}"
metadata:
labels:
app.kubernetes.io/name: tcloud-log-clickhouse
app.kubernetes.io/component: tcloud-log-clickhouse-server
spec:
ports:
- name: http
port: 8123
- name: tcp
port: 9000
type: LoadBalancer
externalTrafficPolicy: Local ```
How to configure multiple services in the serviceTemplate template?
this was my yaml, I declared a LoadBalancer type, but I also want to add a ClusterIP type service, which means I need two services. How should I do it?