File tree Expand file tree Collapse file tree
tests/templates/kuttl/smoke-kraft Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,3 +42,113 @@ metadata:
4242status:
4343 readyReplicas: 1
4444 replicas: 1
45+ ---
46+ apiVersion: v1
47+ kind: Service
48+ metadata:
49+ name: test-kafka-broker-default-headless
50+ spec:
51+ ports:
52+ - name: kafka-tls
53+ port: 9093
54+ protocol: TCP
55+ targetPort: 9093
56+ ---
57+ apiVersion: v1
58+ kind: Service
59+ metadata:
60+ name: test-kafka-broker-default-metrics
61+ spec:
62+ ports:
63+ - name: metrics
64+ port: 9606
65+ protocol: TCP
66+ targetPort: 9606
67+ ---
68+ apiVersion: v1
69+ kind: Service
70+ metadata:
71+ name: test-kafka-broker-automatic-log-config-headless
72+ spec:
73+ ports:
74+ - name: kafka-tls
75+ port: 9093
76+ protocol: TCP
77+ targetPort: 9093
78+ ---
79+ apiVersion: v1
80+ kind: Service
81+ metadata:
82+ name: test-kafka-broker-automatic-log-config-metrics
83+ spec:
84+ ports:
85+ - name: metrics
86+ port: 9606
87+ protocol: TCP
88+ targetPort: 9606
89+ ---
90+ apiVersion: v1
91+ kind: Service
92+ metadata:
93+ name: test-kafka-broker-custom-log-config-headless
94+ spec:
95+ ports:
96+ - name: kafka-tls
97+ port: 9093
98+ protocol: TCP
99+ targetPort: 9093
100+ ---
101+ apiVersion: v1
102+ kind: Service
103+ metadata:
104+ name: test-kafka-broker-custom-log-config-metrics
105+ spec:
106+ ports:
107+ - name: metrics
108+ port: 9606
109+ protocol: TCP
110+ targetPort: 9606
111+ ---
112+ apiVersion: v1
113+ kind: Service
114+ metadata:
115+ name: test-kafka-controller-automatic-log-config-headless
116+ spec:
117+ ports:
118+ - name: kafka-tls
119+ port: 9093
120+ protocol: TCP
121+ targetPort: 9093
122+ ---
123+ apiVersion: v1
124+ kind: Service
125+ metadata:
126+ name: test-kafka-controller-automatic-log-config-metrics
127+ spec:
128+ ports:
129+ - name: metrics
130+ port: 9606
131+ protocol: TCP
132+ targetPort: 9606
133+ ---
134+ apiVersion: v1
135+ kind: Service
136+ metadata:
137+ name: test-kafka-controller-custom-log-config-headless
138+ spec:
139+ ports:
140+ - name: kafka-tls
141+ port: 9093
142+ protocol: TCP
143+ targetPort: 9093
144+ ---
145+ apiVersion: v1
146+ kind: Service
147+ metadata:
148+ name: test-kafka-controller-custom-log-config-metrics
149+ spec:
150+ ports:
151+ - name: metrics
152+ port: 9606
153+ protocol: TCP
154+ targetPort: 9606
Original file line number Diff line number Diff line change 1212 stream = sys .stdout ,
1313 )
1414
15- http_code = requests .get ("http://test-kafka-broker-default:9606" ).status_code
15+ http_code = requests .get ("http://test-kafka-broker-default-metrics :9606" ).status_code
1616 if http_code != 200 :
1717 result = 1
1818
You can’t perform that action at this time.
0 commit comments