You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
error: the namespace from the provided object 'kube-system' does not match the namespace 'custom-metrics'. You must pass '--namespace=kube-system' to perform this operation.
#98
Open
ragatgen opened this issue
Nov 7, 2020
· 1 comment
error: the namespace from the provided object 'kube-system' does not match the namespace 'custom-metrics'. You must pass '--namespace=kube-system' to perform this operation.
Please let me know if there's anything else to be done to get this working
The text was updated successfully, but these errors were encountered:
Support for newer versions of k8s has not been added or tested (see maintenance note). Please checkout out KEDA which has Azure metric support for latest updates
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Followed the instructions on
https://docs.microsoft.com/en-us/azure/application-gateway/ingress-controller-autoscale-pods
Expected behavior
Deploy the adapter
Kubernetes version (
kubectl version
):Logs (
kubectl logs <metric adapter pod id>
)no pod created
Additional context
When applying this steps:
kubectl create namespace custom-metrics
use values from service principal created above to create secret
kubectl create secret generic azure-k8s-metrics-adapter -n custom-metrics
--from-literal=azure-tenant-id=
--from-literal=azure-client-id=
--from-literal=azure-client-secret=
kubectl apply -f kubectl apply -f https://raw.githubusercontent.com/Azure/azure-k8s-metrics-adapter/master/deploy/adapter.yaml -n custom-metrics
The following comes out at the end:
error: the namespace from the provided object 'kube-system' does not match the namespace 'custom-metrics'. You must pass '--namespace=kube-system' to perform this operation.
Please let me know if there's anything else to be done to get this working
The text was updated successfully, but these errors were encountered: