I'm trying to install the package kubernetes cluster
in my minidcos cluster. I'm trying to run it with default configuration. When I run the service I get the error
Custom manager [kubernetes] returned error code [500] and response []
Below are the request details -
Request URL: http://172.17.0.2/package/install?_timestamp=1577649042524
Request Method: POST
Remote Address: 172.17.0.2:80
Referrer Policy: no-referrer-when-downgrade
POST /package/install?_timestamp=1577649042524 HTTP/1.1
Host: 172.17.0.2
Connection: keep-alive
Content-Length: 2037
Accept: application/vnd.dcos.package.install-response+json;charset=utf-8;version=v2
Origin: http://172.17.0.2
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Content-Type: application/vnd.dcos.package.install-request+json;charset=UTF-8;version=v1
Referer: http://172.17.0.2/
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Cookie: ajs_user_id=null; ajs_group_id=null; dcos-acs-info-cookie=eyJ1aWQiOiAicmFqLmNzLnBzZ0BnbWFpbC5jb20iLCAiZGVzY3JpcHRpb24iOiAiVXNlciBhZGRlZCB0aHJvdWdoIE9JREMgSUQgVG9rZW4gbG9naW4uIElzc3VlcjogaHR0cHM6Ly9kY29zLmF1dGgwLmNvbS8iLCAiaXNfcmVtb3RlIjogZmFsc2V9; dcos-acs-auth-cookie=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJ1aWQiOiJyYWouY3MucHNnQGdtYWlsLmNvbSIsImV4cCI6MTU3ODA3NTQyOH0.DzTOvGHuBsexfx5V91ks-GVuzW2vbyEuJlmb0C2yeU5sW6BUXc9JlqpqEBY4cL0MOmkXRmtgPs_Z7dOsFTulXI7_I_vclyfsB2nCb9ghft9Tz0na0o2bBKj2KXB5mKNRw7kd9j5GX56EKIZKla5N8D2GzebdSrdYFrkh3tmCCERLo13T9BEr_nFq7FHzuHQ6YU9OFUMeqGXYaqnK4YK89xI8Xo6sCcPieyUyzzwoY9QG3FRw24J2pCeJcQkyaHEiQxYELUW5Cc7MzeZqMExo4PrfAQPE6e2co74tdEk2yauRSrdrC9y_UPXox6Na_aWQii2-2Hwsx58eqq1Afg1e-A
{"packageName":"kubernetes-cluster","packageVersion":"2.4.5-1.15.5","options":{"service":{"name":"kubernetes-cluster","region":"","sleep":1000,"service_account":"","service_account_secret":"","role":"","enable_role_migration":false,"virtual_network_name":"dcos","log_level":"INFO","use_agent_docker_certs":false,"check":{"intervalSeconds":30,"timeoutSeconds":20,"delaySeconds":15}},"kubernetes":{"authorization_mode":"AlwaysAllow","high_availability":false,"service_cidr":"10.100.0.0/16","dcos_token_authentication":false,"oidc":{"enabled":false,"issuer_url":"","client_id":"","ca_file":"","username_claim":"sub","username_prefix":"oidc","groups_claim":"","groups_prefix":"oidc","required_claim":"","signing_algs":"RS256"},"metrics_exporter":{"enabled":false,"cpus":1,"mem":1024,"disk":1024,"port":9901},"control_plane_reserved_resources":{"cpus":1,"mem":3072,"disk":10240,"system_cpus":0.5,"system_mem":1024},"apiserver_edgelb":{"expose":true,"template":"default","certificate":"$AUTOCERT","port":6443,"path":""},"control_plane_placement":"[[\"hostname\", \"UNIQUE\"]]","control_plane_pre_reserved_role":"*","private_node_count":1,"private_reserved_resources":{"kube_cpus":2,"kube_mem":2048,"kube_disk":10240,"system_cpus":1,"system_mem":1024},"private_node_placement":"","private_node_pre_reserved_role":"*","proxy":{"override_injection":false},"public_node_count":0,"public_reserved_resources":{"kube_cpus":0.5,"kube_mem":512,"kube_disk":2048,"system_cpus":1,"system_mem":1024},"public_node_placement":"","public_node_pre_reserved_role":"slave_public","maximum_container_log_size":1,"audit":{"policy":"","log_maxage":30,"log_maxbackup":10,"log_maxsize":100}},"calico":{"calico_ipv4pool_cidr":"192.168.0.0/16","cni_mtu":1400,"ip_autodetection_method":"interface=(m-dcos|eth0)","ipv4pool_ipip":"Always","felix_ipinipmtu":1420,"felix_ipinipenabled":true,"typha":{"enabled":false,"replicas":3}},"etcd":{"5_etcd_nodes":false,"cpus":0.5,"mem":1024,"data_disk":3072,"wal_disk":512,"disk_type":"ROOT","placement":"","pre_reserved_role":"*"}}}
Response details -
Status Code: 400 Bad Request
{"type":"CustomPackageManagerError","message":"Custom manager [kubernetes] returned error code [500] and response []","data":{"managerId":"kubernetes","statusCode":500,"responseContent":""}}
How can I fix this error?