Comments (7)
@iqarmy how did you setup your kubeconfig
file, did you use the make kubeconfig
target or some other method?
Are there any errors if you run that command?
from dcos-kubernetes-quickstart.
I've actually manually created it as I'm using OSX on my local machine whilst DC/OS cluster runs within the local network. Below its contents (xx.xx.xx.xx - address of marathon-lb) :
$ cat ~/.kube/config
apiVersion: v1
clusters:
- cluster:
insecure-skip-tls-verify: true
server: https://xx.xx.xx.xx:6443
name: kubernetes01
contexts:
- context:
cluster: kubernetes01
user: ""
name: default-context
current-context: default-context
kind: Config
preferences: {}
users: []
from dcos-kubernetes-quickstart.
Do you mind wrapping the code in "```" as here, it will make it easier to review.
from dcos-kubernetes-quickstart.
Edited thx.
from dcos-kubernetes-quickstart.
adding dcos info for the kube cluster as well:
$ dcos kubernetes cluster describe
Using Kubernetes cluster: kubernetes01
{
"calico": {
"calico_ipv4pool_cidr": "192.168.0.0/16",
"cni_mtu": 1400,
"felix_ipinipenabled": true,
"felix_ipinipmtu": 1420,
"ip_autodetection_method": "can-reach=9.0.0.0",
"ipv4pool_ipip": "Always",
"typha": {
"enabled": false,
"replicas": 3
}
},
"etcd": {
"cpus": 0.5,
"data_disk": 3072,
"disk_type": "ROOT",
"mem": 1024,
"wal_disk": 512
},
"kubernetes": {
"authorization_mode": "AlwaysAllow",
"control_plane_placement": "[[\"hostname\", \"UNIQUE\"]]",
"control_plane_reserved_resources": {
"cpus": 1.5,
"disk": 10240,
"mem": 4096
},
"dcos_token_authentication": false,
"high_availability": false,
"private_node_count": 1,
"private_node_placement": "",
"private_reserved_resources": {
"kube_cpus": 2,
"kube_disk": 10240,
"kube_mem": 2048,
"system_cpus": 1,
"system_mem": 1024
},
"proxy": {
"override_injection": false
},
"public_node_count": 0,
"public_node_placement": "",
"public_reserved_resources": {
"kube_cpus": 0.5,
"kube_disk": 2048,
"kube_mem": 512,
"system_cpus": 1,
"system_mem": 1024
},
"service_cidr": "10.100.0.0/16"
},
"kubernetes-cluster": {
"authorization_mode": "RBAC",
"high_availability": true,
"private_node_count": 3
},
"service": {
"log_level": "INFO",
"name": "kubernetes01",
"region": "",
"service_account": "",
"service_account_secret": "",
"sleep": 1000,
"use_agent_docker_certs": false,
"virtual_network_name": "dcos"
}
}
from dcos-kubernetes-quickstart.
Just to update I'm getting 401 (unauth) regardless the:
"kubernetes-cluster": {
"authorization_mode": "RBAC",
"high_availability": true,
"private_node_count": 3
},
or
"kubernetes-cluster": {
"authorization_mode": "AlwaysAllow",
"high_availability": true,
"private_node_count": 3
},
Otherwise the cluster is provisioned as default.
from dcos-kubernetes-quickstart.
I would recommend using the Makefile target and then comparing it to the kubeconfig
you are generating.
from dcos-kubernetes-quickstart.
Related Issues (20)
- Failed to Write to cpu.cfs_quota_us HOT 2
- Unable to setup Kubectl command in DCOS Master HOT 5
- Unable to delpoy Application on Kubernetes running on DCOS HOT 5
- etcd is unable to start on DC/OS 1.12.1 HOT 1
- Not able to access host binded volume in Kubernetes
- kubernetes CLI package error HOT 1
- Is it possible to convert same quickstart using API call rather than DCOS CLI ?
- "Bad CPU type in executable" with macOS Catalina HOT 3
- Access kubernetes nodeport service via marathon-lb?
- error during deploy at dcos_generate_config.sh
- kubernetes-dashboard not found HOT 6
- Cloud Provider option makes kube-controller-manager to fail HOT 2
- Unable to update config of kubernetes service HOT 7
- Kubernetes installation stuck in IN_PROGRESS HOT 8
- Support 1.1.0-1.10.3 or newer HOT 1
- CLI-related make goals are confusing HOT 1
- "make deploy" fails HOT 7
- Drop SSH tunnel HOT 1
- Pod cannot call it's own service HOT 6
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 dcos-kubernetes-quickstart.