Skip to content

Commit aa308a9

Browse files
authored
Merge pull request #16 from goooogoooo/fix/statefulset
fix: serviceName in StatefulSet is required
2 parents aa34e9b + 3de9077 commit aa308a9

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

manifests/installation/middleware/jaeger/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: jaeger
10+
serviceName: jaeger
1011
template:
1112
metadata:
1213
labels:

manifests/installation/middleware/kafka/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: kafka
10+
serviceName: onex-kafka
1011
template:
1112
metadata:
1213
labels:

manifests/installation/storage/etcd/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: etcd
10+
serviceName: etcd
1011
template:
1112
metadata:
1213
labels:

manifests/installation/storage/mariadb/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ spec:
1717
selector:
1818
matchLabels:
1919
app: mariadb
20+
# 指定了Pod关联的Service名称
21+
serviceName: mariadb
2022
# 指定了要创建的Pod的模板信息
2123
template:
2224
# 指定了Pod的元数据信息,包括标签等

manifests/installation/storage/mongo/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: mongo
10+
serviceName: mongo
1011
template:
1112
metadata:
1213
labels:

manifests/installation/storage/redis/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
selector:
88
matchLabels:
99
app: redis
10+
serviceName: redis
1011
template:
1112
metadata:
1213
labels:

0 commit comments

Comments
 (0)