Skip to content

Commit

Permalink
globals rename pods
Browse files Browse the repository at this point in the history
Signed-off-by: 蓝宝石的傻话 <mickey_zzc@163.com>
  • Loading branch information
mickeyzzc committed Oct 18, 2023
1 parent 5fc87fa commit f7ca990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/daemonsetsharding/deployment-no-node-pods.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ kind: Deployment
metadata:
labels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics-global
app.kubernetes.io/name: kube-state-metrics-pods
app.kubernetes.io/version: 2.10.0
name: kube-state-metrics-global
name: kube-state-metrics-pods
namespace: kube-system
spec:
replicas: 1
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-state-metrics/kube-state-metrics.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
'--node=""',
],
};
local shardksmname = ksm.name + "-global";
local shardksmname = ksm.name + "-pods";
std.mergePatch(ksm.deployment,
{
metadata: {
Expand Down

0 comments on commit f7ca990

Please sign in to comment.