Quick Install Guide

Overview

Quick install guide for SpaceONE with minikube.

Preparation

Before you install SpaceONE, you need minikube, helm.
Refer to the link below and proceed with the installation.

Start Minikube

  • Spaceone requires a minimum of 4GB of memory.
minikube start --driver=docker --memory=4096mb

Install SpaceONE

Namespace

Create namespace for SpaceONE.
SpaceONE needs two namespaces, spaceone and root-supervisor.

kubectl create ns spaceone
kubectl create ns root-supervisor

Check namespace list.

kubectl get ns

Helm Chart

I highly recommend changing kubenetes namespace to spaceone.

kubectl config set-context $(kubectl config current-context) --namespace spaceone

Register helm chart for SpaceONE.

helm repo add spaceone https://cloudforet-io.github.io/charts
helm repo list
helm repo update

Install SpaceONE with helm chart

git clone https://github.com/cloudforet-io/charts.git
cd charts/examples/v1.9.4
helm install spaceone -f minikube.yaml spaceone/spaceone

If you use EC2 VM(not localhost), edit minikube.yaml file, localhost to EC2 public IP.

  • ENDPOINT
  • DOMAIN_NAME_REF
  production_json:
      CONSOLE_API:
        ENDPOINT: http://##### EC2 public IP ####:8081
      DOMAIN_NAME: spaceone
      DOMAIN_NAME_REF: spaceone
      BILLING_ENABLED: []

You need to check status of pods.

kubectl get pod

Check STATUS Completed or Running. It will take some time, so please wait.

Port-forwarding

Since you have installed SpaceONE in your minikube, you don’t have any ingress like ALB or NGINX ingress controller. We use kubectl port-forward.

kubectl port-forward -n spaceone svc/console 8080:80 --address='0.0.0.0'
kubectl port-forward -n spaceone svc/console-api 8081:80 --address='0.0.0.0'

Open two terminal then run at separate terminal.

Tips

You can run in the background by adding & at the end.

kubectl port-forward -n spaceone svc/console 8080:80 --address='0.0.0.0' &
kubectl port-forward -n spaceone svc/console-api 8081:80 --address='0.0.0.0' &

Start SpaceONE

Log-In (Sign in for Root Account)

Open browser (localhost:8080)

IDPASSWORD
adminAdmin123!@#

Initial Setup

Reference

If you use Amazon Linux(RedHat Linux).

Install dependency libraries.

yum install socat