Install to an Existing Cluster
#
Install the dependenciesOn the computer that will be used for the installation, you need to install:
#
Cluster requirements- Kubernetes 1.16+
- At least 1 master and at least 1 worker node.
#
EntitlementsEnsure that wk
can load a valid [entitlements]/getting-started/entitlements.md) file.
#
Install the WKP cluster components on an existing clusterFirst, create a directory which will contain the cluster management scripts and binaries.
The main configuration file will be unpacked at setup/config.yaml
.
The required values are your git provider organization or user, your Docker Hub user, and an absolute path to a file containing your Docker Hub password:
Enter your gitProvider
, dockerIOUser
, and dockerIOPasswordFile
in your setup/config.yaml
. (See Git Config Repository for details about git parameters)
Set the track
field to wks-components
.
Example snippet of config.yaml
:
WKP uses a personal access token to create the cluster repository on GitHub. The token needs to have permissions in
the repo
scope. The github documentation on how to create one can be found on this page. Once you have created one,
set the environment variable for it:
Now we are ready to install the components on the cluster. Make sure kubectl
is connected to the correct cluster and run:
#
Access the WKP UITo expose the WKP UI via wk ui command, run:
You should now be able to view it at http://localhost:8090
To expose the WKP UI to a different port other than the default, run: