Hi,
I'm trying to deploy Cockpit on OpenShift using [1] following [2] but failing to properly expose it.
Let's consider minimalistic deployment:
# oc version oc v3.9.0-alpha.3+78ddc10
# oc cluster up # oc login -u system:admin # oc adm policy add-cluster-role-to-user cluster-admin admin # oc new-project cockpit
# oc status In project cockpit on server https://127.0.0.1:8443
# oc process -f ./openshift-cockpit.template \ -v COCKPIT_KUBE_URL=https://127.0.0.1 \ -v OPENSHIFT_OAUTH_PROVIDER_URL=https://127.0.0.1:8443 | \ oc create -f -
The service is deployed, pod is running but I'm not able to access it from browser.
What URL is it expected to be available at, please? Are parameters above correct?
Do I need to set certificates? How? Using COCKPIT_KUBE_INSECURE=true did not help me.
# oc expose service openshift-cockpit will expose it at [3], but when following it, I get error message about malformed request from [4].
Thank you, Marek
[1] https://github.com/cockpit-project/cockpit/blob/master/containers/openshift-... [2] https://github.com/cockpit-project/cockpit/blob/master/containers/kubernetes... [3] http://openshift-cockpit-cockpit.127.0.0.1.nip.io/ [4] https://127.0.0.1:8443/oauth/authorize
cockpit-devel@lists.fedorahosted.org