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
Hey guys, im trying to get my head around what is going wrong, running this project in dev mode(nodemon).
Problem:
2019-12-20 20:28:29 - info: [nestcloud-kubernetes-example] interval get service name from boot: nestcloud-kubernetes-example 2019-12-20 20:28:29 - info: [nestcloud-kubernetes-example] interval get data from k8s configMap: default custom data 2019-12-20 20:28:30 - error: [nestcloud-kubernetes-example] Unable to initial ConfigModule, retrying... message=configmaps "nestcloud-kubernetes-config" not found, stack=Error: configmaps "nestcloud-kubernetes-config" not found at /Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/kubernetes-client/backends/request/client.js:225:25 at Request._callback (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/kubernetes-client/backends/request/client.js:162:14) at Request.self.callback (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:185:22) at Request.emit (events.js:210:5) at Request.EventEmitter.emit (domain.js:478:20) at Request.<anonymous> (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:1161:10) at Request.emit (events.js:210:5) at Request.EventEmitter.emit (domain.js:478:20) at IncomingMessage.<anonymous> (/Users/simonsimondoba/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:299:28) at IncomingMessage.emit (events.js:215:7) at IncomingMessage.EventEmitter.emit (domain.js:478:20) at endReadableNT (_stream_readable.js:1200:12) at processTicksAndRejections (internal/process/task_queues.js:80:21), code=404, statusCode=404
Im using the default config.yaml with the kubeConfig path set to my own which is successfully loaded.
The convertKubeconfig() Method inside the config.js of the kuberenetes-clinet module is using this config Object:
Sorry, you need deploy this configMap in the same namespace with the app:
apiVersion: v1data:
config.yaml: |- data: test: get config data from other config map.kind: ConfigMapmetadata:
name: nestcloud-kubernetes-confignamespace: default
If you don't need this feature you can comment it out:
Hey guys, im trying to get my head around what is going wrong, running this project in dev mode(nodemon).
Problem:
2019-12-20 20:28:29 - info: [nestcloud-kubernetes-example] interval get service name from boot: nestcloud-kubernetes-example 2019-12-20 20:28:29 - info: [nestcloud-kubernetes-example] interval get data from k8s configMap: default custom data 2019-12-20 20:28:30 - error: [nestcloud-kubernetes-example] Unable to initial ConfigModule, retrying... message=configmaps "nestcloud-kubernetes-config" not found, stack=Error: configmaps "nestcloud-kubernetes-config" not found at /Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/kubernetes-client/backends/request/client.js:225:25 at Request._callback (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/kubernetes-client/backends/request/client.js:162:14) at Request.self.callback (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:185:22) at Request.emit (events.js:210:5) at Request.EventEmitter.emit (domain.js:478:20) at Request.<anonymous> (/Users/simon/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:1161:10) at Request.emit (events.js:210:5) at Request.EventEmitter.emit (domain.js:478:20) at IncomingMessage.<anonymous> (/Users/simonsimondoba/Documents/Development/Privat/Microservice/nestcloud-kubernetes-example-master/node_modules/request/request.js:1083:12) at Object.onceWrapper (events.js:299:28) at IncomingMessage.emit (events.js:215:7) at IncomingMessage.EventEmitter.emit (domain.js:478:20) at endReadableNT (_stream_readable.js:1200:12) at processTicksAndRejections (internal/process/task_queues.js:80:21), code=404, statusCode=404
Im using the default config.yaml with the kubeConfig path set to my own which is successfully loaded.
The convertKubeconfig() Method inside the config.js of the kuberenetes-clinet module is using this config Object:
The .config from .kubeconfig is defined like this:
I would appreciate any help to get any help to get this running thanks!
The text was updated successfully, but these errors were encountered: