Comments (4)
If these do not exist in the paths above, maybe the deployment failed for some reason. You should check the log in /var/log/init-aws-kubernetes-master.log
. Maybe there is some bug or something.
from terraform-aws-kubernetes.
That is the error message which you get when there is no configuration at all. When you login to the master, there will be two kubeconfig files:
/home/centos/kubeconfig_ip
is using IP address (so that you don't have to wait for DNS propagation)/home/centos/kubeconfig
is using DNS records.
You can either copy them to local host or use them from the master. To configure kubectl
to use them, you can just do export KUBECONFIG=/home/centos/kubeconfig
(or whatever the path is.)
from terraform-aws-kubernetes.
Thank you for getting back so quickly.
I did look for the files you suggested:
/home/centos/kubeconfig_ip
/home/centos/kubeconfig
i tried finding the kubeconfig file from / and yet it does not exits.
Maybe i missed a step?
from terraform-aws-kubernetes.
Thank you for getting back so quickly.
I did look for the files you suggested:/home/centos/kubeconfig_ip
/home/centos/kubeconfigi tried finding the kubeconfig file from / and yet it does not exits.
Maybe i missed a step?
There's a likelihood that you are using t2.micro instance type as your master node (Happened to me).
If thats the case, remember to add --ignore-preflight-errors=NumCPU behind kubeadm init --config /tmp/kubeadm.yaml in your init-aws-kubernetes-master.sh script because kubernetes require at least 2 cpus.
Cheers
from terraform-aws-kubernetes.
Related Issues (20)
- Nodes regularly failing after a day HOT 6
- Why centos? HOT 4
- Install script didn't run? HOT 2
- changing the worker_instance_type causes error on terraform apply HOT 1
- Core DNS addon HOT 1
- etcd down after reboot, selinux issue
- Error: Attribute redefined - The argument "tags" was already set HOT 5
- Fix kubelet configuration section in init-aws-kubernetes-node.sh does thing HOT 1
- Can I chose the kubernetes version ? HOT 2
- private subnet HOT 3
- Tags must be a list instead of map HOT 1
- SSH key pair creation should be written to pre-req section of doc
- From AWS: Recommendation to not use launch configurations HOT 1
- LoadBalancer Service stuck in pending HOT 3
- Module does not support configuring Kubernetes multi-master HOT 4
- Support for private subnets HOT 9
- Launch configuration is invallid HOT 7
- Nodes are flapping between ready and not ready state HOT 1
- Scaling down fails due to missing permission HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-kubernetes.