Open
Description
Probably I do have a wrong understanding, how I can import exsiting resources from a running Amazon EKS cluster into the simulator, but this is what I 've done:
- Run
make build
to create Go binaries - Created a config.yaml pointing to my Amazon EKS cluster
$ cat config.yaml | grep -v "^#"
apiVersion: kube-scheduler-simulator-config/v1alpha1
kind: SimulatorConfiguration
port: 1212
etcdURL: "http://127.0.0.1:2379"
corsAllowedOriginList:
- "http://localhost:3000"
kubeConfig: "/Users/waltju/.kube/config"
kubeApiServerUrl: "https://<redacted>.gr7.eu-west-1.eks.amazonaws.com"
kubeSchedulerConfigPath: ""
externalImportEnabled: true
resourceSyncEnabled: false
- Started simulator
$ ./simulator/bin/simulator
I0411 10:34:09.715563 60423 simulator.go:81] waiting for kube-system namespace to be ready: Get "https://1151B40A90049914622A345DEB497090.gr7.eu-west-1.eks.amazonaws.com/api/v1/namespaces/kube-system": tls: failed to verify certificate: x509: “kube-apiserver” certificate is not trusted
I0411 10:34:14.643937 60423 simulator.go:81] waiting for kube-system namespace to be ready: Get "https://1151B40A90049914622A345DEB497090.gr7.eu-west-1.eks.amazonaws.com/api/v1/namespaces/kube-system": tls: failed to verify certificate: x509: “kube-apiserver” certificate is not trusted
...
What am I doing wrong? Is this possible at all? Thx.