Sivakumar, Can you please try "export KUBECONFIG=~/.kube/config.onap" and then the kubectl command.
Thanks, Thiriloshini From: [email protected] <[email protected]> On Behalf Of Sivakumar Venkatesan Parthiban Sent: Friday, June 21, 2019 1:06 AM To: [email protected] Cc: NISHI_MATHUR <[email protected]> Subject: [onap-discuss] Issue in Dublin version installation Hi Team, I was trying to install Dublin version by following the steps mentioned in link. https://onap.readthedocs.io/en/dublin/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html#configure-rancher-kubernetes-engine-rke<https://urldefense.proofpoint.com/v2/url?u=https-3A__onap.readthedocs.io_en_dublin_submodules_oom.git_docs_oom-5Fsetup-5Fkubernetes-5Francher.html-23configure-2Drancher-2Dkubernetes-2Dengine-2Drke&d=DwMFAg&c=09aR81AqZjK9FqV5BSCPBw&r=I1jivgCaLtLwcDmPXao4FVAfQHO4jJsh_tzGG-LrvaM4UX5OI9qN3wJdIa2CCyRw&m=FgOJxTWp9Fra6mMnQvqf5_G1zt1CqeJ1OJG39u6n6Ck&s=ZWt_sjcs5xdvzmhAU05mOEc89RFwIzWP8a19s5-WQk8&e=> I was able to install RKE successfully but after that while trying to initialize kubernetes cluster for use by helm by executing below command: kubectl -n kube-system create serviceaccount tiller Below error message is thrown: "The connection to the server localhost:8080 was refused - did you specify the right host or port?" can you please assist in resolving this issue? I have also raised an Jira for this. https://jira.onap.org/browse/OJSI-215<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_OJSI-2D215&d=DwMFAg&c=09aR81AqZjK9FqV5BSCPBw&r=I1jivgCaLtLwcDmPXao4FVAfQHO4jJsh_tzGG-LrvaM4UX5OI9qN3wJdIa2CCyRw&m=FgOJxTWp9Fra6mMnQvqf5_G1zt1CqeJ1OJG39u6n6Ck&s=MNkEgRgM-18ysjRPMsC7tZY0cl6xdV1FN0XRKwXCLdY&e=> Thanks, Sivakumar -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17805): https://lists.onap.org/g/onap-discuss/message/17805 Mute This Topic: https://lists.onap.org/mt/32214398/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
