Jump to: navigation, search

StarlingX/Docs and Infra/InstallationGuides/virtual-AIO-Simplex/Access-StarlingX-Kubernetes

< StarlingX‎ | Docs and Infra‎ | InstallationGuides‎ | virtual-AIO-Simplex
Revision as of 18:28, 19 February 2020 by Kristal.dale (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning icon.svg Warning - Deprecated

This wiki page is out of date and now deprecated. For the current version of the StarlingX documentation please see the documentation website.

Accessing StarlingX Kubernetes

Local CLIs

Login to controller-0 console or via SSH with sysadmin/<sysadmin-password> .

Acquire Keystone Admin and Kubernetes Admin credentials:

source /etc/platform/openrc

StarlingX system and host management commands are via the 'system' command, e.g.:
( 'system help' for full list of options )

[sysadmin@controller-0 ~(keystone_admin)]$ system host-list
| id | hostname     | personality | administrative | operational | availability |
| 1  | controller-0 | controller  | unlocked       | enabled     | available    |
[sysadmin@controller-0 ~(keystone_admin)]$ 

StarlingX fault management commands are via the 'fm' command: e.g.:
( 'fm help' for full list of options )

[sysadmin@controller-0 ~(keystone_admin)]$ fm alarm-list
| Alarm ID | Reason Text               | Entity ID           | Severity | Time Stamp    |
| 750.002  | Application Apply Failure | k8s_application=    | major    | 2019-08-08T20 |
|          |                           | platform-integ-apps |          | :17:58.223926 |
|          |                           |                     |          |               |
[sysadmin@controller-0 ~(keystone_admin)]$ 

Remote CLIs



StarlingX Horizon

Access the StarlingX Horizon GUI in your browser at address:


Use admin / <sysadmin-password> to login to Horizon as admin.

Kubernetes Dashboard

The Kubernetes Dashboard is not installed by default.

To install the Kubernetes Dashboard, create use the kubernetes-dashboard helm chart from the stable helm repository with the override values shown below:

cat <<EOF > dashboard-values.yaml 
  type: NodePort
  nodePort: 30000

  create: true
  clusterAdminRole: true

  create: true
  name: kubernetes-dashboard

helm install stable/kubernetes-dashboard --name dashboard -f dashboard-values.yaml

Create an 'admin-user' service account with 'cluster-admin' priviledges, and
display its token for logging into Kubernetes Dashboard.

cat <<EOF > admin-login.yaml 
apiVersion: v1
kind: ServiceAccount
  name: admin-user
  namespace: kube-system
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
  name: admin-user
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
- kind: ServiceAccount
  name: admin-user
  namespace: kube-system

kubectl apply -f admin-login.yaml

kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')

Access the Kubernetes Dashboard GUI in your browser at address:


Login with the 'admin-user's TOKEN.


The StarlingX Platform related public REST API Endpoints can be listed by:

openstack endpoint list | grep public

Use these URLs as the prefix for the URL target of StarlingX Platform Services' REST API messages.