Skip to content

qiot-project/qiot-manufacturing-datacenter-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qiot-manufacturing-datacenter-installer

steps to install components in Openshift container platform:

Prerequisites

Download the Openshift client from the official download page

Download helm CLI: https://helm.sh/docs/intro/install/

Login to your SNO with oc CLI.

oc login --token=<<USER_TOKEN>> --server=https://api.<<CLUSTER_ADDRESS>>:6443

Cleanup

helm uninstall ocp-srv-install --namespace manufacturing-dev
helm uninstall ocp-install --namespace manufacturing-dev
oc delete pvc --all --namespace manufacturing-dev
helm uninstall ocp-olm-install --namespace manufacturing-dev
oc delete project manufacturing-dev

helm uninstall vault --namespace hashicorp
oc delete pvc --all --namespace hashicorp
oc delete secret vault-vault-bootstrap  --namespace hashicorp
oc delete project hashicorp

OCP Vault chart

  1. Chart Installation Vault
  2. Vault Bootstrap (init and unsealed)
export WILDCARD=apps.$(oc get dns cluster -o jsonpath='{.spec.baseDomain}')
helm install vault ./ocp-vault-install --dependency-update --create-namespace --set vault.server.route.host=vault.${WILDCARD} --namespace hashicorp

VAULT_TOKEN and KEYS are on a secret in the hashicorp namespace.

A CronJob checks the sealed status, in case the status is sealed will automatically unseal it.

OLM

  1. Cert Manager
  2. AMQ Streams
helm install ocp-olm-install ./ocp-olm-install --create-namespace --namespace manufacturing-dev

OCP Install Chart

  1. Kafka
  2. Influxdb2
  3. Mongo
  4. PostgreSQL
  5. Create Vault issuer
export WILDCARD=apps.$(oc get dns cluster -o jsonpath='{.spec.baseDomain}')
helm install ocp-install ./ocp-install --dependency-update --set issuer.wildcardDomain=${WILDCARD} --namespace manufacturing-dev

OCP Service Install Chart

  1. Event Collector service
  2. Plant Manager service
  3. Product Line service
  4. Registration service
helm install ocp-srv-install ./ocp-srv-install --namespace manufacturing-dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published