Adding -f flag to fit with new kubectl versions
This commit is contained in:
committed by
GitHub
parent
c01be8de06
commit
43b9680a96
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
kubectl apply -n monitoring custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
|
kubectl apply -n monitoring -f custom-metrics-apiserver-resource-reader-cluster-role-binding.yaml
|
||||||
kubectl apply -n monitoring custom-metrics-apiservice.yaml
|
kubectl apply -n monitoring -f custom-metrics-apiservice.yaml
|
||||||
kubectl apply -n monitoring custom-metrics-cluster-role.yaml
|
kubectl apply -n monitoring -f custom-metrics-cluster-role.yaml
|
||||||
kubectl apply -n monitoring custom-metrics-configmap.yaml
|
kubectl apply -n monitoring -f custom-metrics-configmap.yaml
|
||||||
kubectl apply -n monitoring hpa-custom-metrics-cluster-role-binding.yaml
|
kubectl apply -n monitoring -f hpa-custom-metrics-cluster-role-binding.yaml
|
||||||
|
Reference in New Issue
Block a user