Manual install
Use this path when you already have a cluster or need full control over each component.
1. make sure all requirements are met
2. create a k8s namespace “knl-system”
knl-system is the namespace where KNL operator and all KNL lab related resources are.
3. create a PVC with name knl-pvc in namespace knl-system
The PVC holds following files:
- Nokia SROS images for vSIM, VSR and MAG-c with remote file server hosting
- Nokia SROS config files
- cache for vSIM, VSR and MAG-c licenses
Following is an example PVC, adjust the storage and storageClassName accordingly to your setup:
Create the above PVC via kubectl:
4. install knl via manifest
install latest version
5. update knl-sftp secret (optional)
knl-sftp secret in knl-system namespace holds the login crendetial for KNL SFTP server, by default both username and password is knlftp;
6. create a KNLConfig
KNLConfig is the CR for the KNL configuration, create the YAML file with desired
configuration and apply it using kubectl
Download knlcli
knlcli is the command line tool to manage KNL lab. download the latest version and install it to /usr/local/bin/:
8. provison licenses
some node types requires license to run, provision license as corresponding k8s secret with “license” as the key, following is an example of provision vSIM license using default secret name:
check the corresponding node type doc for defautl secret name.