Table of Contents |
---|
Installation of MicroK8s
Install Microk8s with the following instructions,
https://ubuntu.com/tutorials/install-a-local-kubernetes-with-microk8s#1-overview
...
NOTE: Once the host-access enabled, The host can be accessed using IP address "10.0.1.1" from kubernetes pods.
Installation of ONAP with Policy Clamp in Microk8s
Policy clamp kubernetes participant used in the charts doesn't support the http based chartmuseum servers. It is supported in later version of the k8sparticipant (6.3.0).
...
- Update the configuration(smo-install/onap_oom/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/resources/config/KubernetesParticipantParameters.yaml) to have the support for http with the chartmuseum configuration
- By default, policy clamp gui service is not enabled, Enable the policy-gui services in helm-override (smo-install/helm-override/default/onap-override.yaml)
...
NOTE: Initial installation takes more time as the docker images are getting downloaded newly and the consequent installation will be faster.
Using Socks proxy to access the Microk8s cluster
Socks proxy can be used to access the containers/GUI from Microk8s cluster.
Creating ssh tunnel for Socks proxy
Once this tunnel is enabled, socks proxy can be configured in windows application/environment.
Enabling Socks proxy with Firefox
Socks proxy can be configured in Firefox as shown below,Go to, Settings → General → Network Settings → Manual Proxy Configuration and configure as shown below.
Enabling socks proxy in windows environment
Go to, Internet Options → Connections → LAN Settings → Proxy server
Enable the checkbox and click on Advanced,
Once the Socks proxy is configured, Kubernetes services in Microk8s can be accessed using Nodeport and ClusterIP.
...
Accessing policy clamp UI in Firefox.
Using Socks proxy in Kubernetes config
...
Socks proxy can be used to access the Kubernetes cluster. Get the kubeconfig file from the cluster which needs to be accessed and add the configuration as shown below,
proxy-url property should be configured based on the tunneling port.
...