Comments (5)
@de13 i am not able to reproduce the issue, i was able to bring a 3 node kubernetes cluster on Rancher os image from aws successfully without any problem, also tried with ubuntu and the cluster came up successfully:
kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system kube-dns-778977457c-ght6v 3/3 Running 0 49s
kube-system kube-dns-autoscaler-5cb4f55974-pmxz6 1/1 Running 0 50s
kube-system kube-flannel-82g6c 2/2 Running 0 54s
kube-system kube-flannel-fsflc 2/2 Running 0 54s
kube-system kube-flannel-qslqs 2/2 Running 0 54s
kube-system kubernetes-dashboard-747c4f7cf-2tf4t 1/1 Running 0 45s
can you paste your cluster.yml file to check if something is wrong
from rke.
Sure, this is my cluster file:
$ cat cluster.yml
nodes:
- address: "52.56.183.107"
internal_address: "172.31.100.5"
role:
- controlplane
- etcd
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
- address: "35.177.135.53"
internal_address: "172.31.100.132"
role:
- controlplane
- etcd
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
- address: "35.177.71.152"
internal_address: "172.31.100.238"
role:
- controlplane
- etcd
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
- address: "52.56.107.27"
internal_address: "172.31.100.194"
role:
- worker
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
- address: "35.176.154.112"
internal_address: "172.31.100.203"
role:
- worker
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
- address: "35.177.97.118"
internal_address: "172.31.100.205"
role:
- worker
hostname_override: ""
user: rancher
docker_socket: /var/run/docker.sock
services:
etcd:
image: quay.io/coreos/etcd:latest
extra_args: {}
kube-api:
image: rancher/k8s:v1.8.3-rancher2
extra_args: {}
service_cluster_ip_range: 10.233.0.0/18
kube-controller:
image: rancher/k8s:v1.8.3-rancher2
extra_args: {}
cluster_cidr: 10.233.64.0/18
service_cluster_ip_range: 10.233.0.0/18
scheduler:
image: rancher/k8s:v1.8.3-rancher2
extra_args: {}
kubelet:
image: rancher/k8s:v1.8.3-rancher2
extra_args: {}
cluster_domain: cluster.local
infra_container_image: gcr.io/google_containers/pause-amd64:3.0
cluster_dns_server: 10.233.0.3
kubeproxy:
image: rancher/k8s:v1.8.3-rancher2
extra_args: {}
network:
plugin: flannel
options: {}
auth:
strategy: x509
options: {}
addons: ""
ssh_key_path: ~/.ssh/id_rsa
from rke.
I can guess what my problem is... I should be tired yesterday: internal addresses should be internal for the cluster, not for aws. I suppose I can let this field empty.
from rke.
Unfortunately, same file without internal_address:
set gives me the same results.
from rke.
I've "find" the issue: security group. Hosts talking to each other on public ip. I have to find the ports that flannel use.
from rke.
Related Issues (20)
- with latest kernel version the worker node DNS is not working HOT 2
- RKE restarting masters/workers after adding a new worker or master
- [Question] About ciphers
- Calico versions and other CNI version info? Where? HOT 8
- Metrics: unreachable kubernetes API (no logs) HOT 1
- How to restart apiserver
- Cluster unrecoverable after every power outage - nodes all say ready (even when off) HOT 2
- RKE should have a dry-run option HOT 3
- Errors while removing an etcd member can cause RKE to try to remove the member indefinitely HOT 2
- don't use dns search of the host HOT 1
- FATA[0000] Unsupported Docker version found [26.1.1] on host HOT 4
- Rke with docker rootless HOT 1
- Provisionning fails with RKE 1.5.9 when `extra_env` is used for `kube-api` service HOT 5
- Clarification on using hostNetwork: true in nginx ingress HOT 1
- miss makezero in slice init HOT 1
- [Backport] Provisionning fails with RKE 1.5.9 when extra_env is used for kube-api service HOT 3
- RKE1: Ingress Controller and Ingress not working
- masters not available via SSH - how to moved them into new hosts? HOT 1
- Failed to reconcile etcd plane: Failed to add etcd member [etcd-server-k8s-2] to etcd cluster
- worker node label lost after node reboot [v1.5.10]
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 rke.