Comments (5)
Usually this would indicate your host networking is not set up correctly, but you can get more information by looking at the logs for aci-containers host agent.
kubectl -n kube-system logs aci-containers-host-k1jxx -c aci-containers-host
kubectl -n kube-system logs aci-containers-host-k1jxx -c opflex-agent
kubectl -n kube-system logs aci-containers-host-k1jxx -c mcast-daemon
These containers are designed to kill themselves if the environment is not set up correctly to aid diagnosis. For more detailed support, we can have a Cisco TME reach out to you.
from aci-containers.
Thanks for the advice. After fixing the MTU issue, aci-containers-host-k1jxx in is running now. But still aci-containers-controller is in pending status and kube-dns shows rpc error.
[root@k8s-master ~]# kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system aci-containers-controller-2834261735-7719d 0/1 Pending 0 1d
kube-system aci-containers-host-k1jxx 3/3 Running 293 1d
kube-system aci-containers-openvswitch-dmwbf 1/1 Running 4 1d
kube-system etcd-k8s-master 1/1 Running 4 1d
kube-system kube-apiserver-k8s-master 1/1 Running 4 1d
kube-system kube-controller-manager-k8s-master 1/1 Running 4 1d
kube-system kube-dns-2617979913-54372 0/3 rpc error: code = 2 desc = failed to start container "b68fc34e0c2d770655ad065ce4193242aedc7d29d23f25753d769500e37cec40": Error response from daemon: {"message":"cannot join network of a non running container: 999ed6cc9dd7c04988d5f806b217c245a8edb905ef6f426d57f2793cbe58be7e"} 9 1d
kube-system kube-proxy-5fhm4 1/1 Running 4 1d
kube-system kube-scheduler-k8s-master 1/1 Running 4 1d
[root@k8s-master ~]#
from aci-containers.
You can use kubectl describe to find out why a pod is in pending state.
from aci-containers.
Thanks. The issue is resolved by including the master node to schedule pods. As documented in k8s:
By default, your cluster will not schedule pods on the master for security reasons.
Just wonder is it a must for master node to schedule pod if we would like to integrate ACI with k8s? By looking at the steps, we have to install a pod network using kubectl apply -f <add-on.yaml>
before we can add new nodes to the cluster.
from aci-containers.
You can add nodes before you apply the networking plugin, and in any event you don't need the networking plugin to be running until you need to run pods, so it's not required to run pods on the master node.
from aci-containers.
Related Issues (20)
- failing network policy to enable dns traffic in OpenShift
- unable to assign LoadBalancerIP to service of type LoadBalancer
- acc-provision -d shouldn't require -a HOT 1
- 1.11 support through pip install acc-provision HOT 2
- acc-provision crashes after using -d twice HOT 1
- [Kubernetes] If 'aci_config:vrf:tenant' is different from 'aci_config:system_id', faults appear in the created BDs HOT 2
- acc-provision doesn't generate the logging level configuration options in the sample HOT 1
- The external subnet option in the input file doesn't do anything on OpenShift HOT 1
- Documentation update acc-provision HOT 6
- Update image references according to 4.0(2) HOT 1
- Supported docker-versions HOT 4
- Change Infa VLAN in ACI with Kubernetes/OpenShift config script HOT 1
- urllib3 not a part of requests anymore HOT 4
- latest build 1.7.0 supporting k8s versions 1.7 and 1.8 ? HOT 1
- v1.6.0 deployment not complete: acikubectl command and expected volume mounts not there HOT 3
- [K8S-ACC] [Injected model] Stale acc replica set entries on APIC UI.
- ACI CNI plugin HOT 1
- VMM left in VXLAN mode despite sauto calling acc-provision to set the fabric in VLAN mode HOT 1
- Ensure acc-provision -d will delete APIC objects irrespective of the input file 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 aci-containers.