SpectroCloud: Difference between revisions

From DER's LLC
Jump to navigation Jump to search
Line 7: Line 7:
  # https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/
  # https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/
====Downloads====
====Downloads====
* airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)
# airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)


====vCenter Prep ====
====vCenter Prep ====

Revision as of 16:39, 20 November 2024

Spectro Cloud Documentation

Vertex Installation

Pre Requisites

###############################
# SpectroCloud Docs Reference #
###############################
# https://docs.spectrocloud.com/vertex/install-palette-vertex/install-on-kubernetes/airgap-install/kubernetes-airgap-instructions/

Downloads

  1. airgap-base-ova (ex. spectro-airgap-podman-v3.1.4.ova)

vCenter Prep

  1. Tag the DataCenter with k8s-region
  2. Tag the Cluster with k8s-zone
  3. Create a VM Folder called spectro-templates
  4. Create a VM Folder called spectro-vms

Harbor Prep

  1. Create a new Public Project (spectro-images)

OVA Setup

################
# INSTALL ORAS #
################
# GET LATEST VERSION FROM: https://github.com/oras-project/oras/releases
VERSION="1.2.0"
curl -LO "https://github.com/oras-project/oras/releases/download/v${VERSION}/oras_${VERSION}_linux_amd64.tar.gz"
mkdir -p oras-install/
tar -zxf oras_${VERSION}_*.tar.gz -C oras-install/
sudo mv oras-install/oras /usr/local/bin/
rm -rf oras_${VERSION}_*.tar.gz oras-install/

##############################
# INSTALL JQ, ZIP, and UNZIP #
##############################
yum -y install jq zip unzip

##################
# INSTALL DOCKER #
##################

#######################
# CREATE HARBOR REPOS #
#######################
* spectro-packs (Private)
* spectro-images (Public)

Vertex Install

#################
# SET VARIABLES #
#################
export OCI_IMAGE_REGISTRY=harbor.dersllc.com
export OCI_PACK_BASE=spectro-images
export OCI_PACK_REGISTRY=harbor.dersllc.com
export OCI_IMAGE_BASE=spectro-images
export SC_VERSION='v4.5.8'

###################
# Log-in via ORAS #
###################
oras login harbor.dersllc.com --username 'admin' --password '<Password>'

#####################
# RUN AIRGAP BINARY #
#####################
cd /nfs/Download/
chmod +x airgap-vertex-$SC_VERSION.bin
./airgap-vertex-$SC_VERSION.bin --nodiskspace --target /nfs/Download/airgap-vertex/

###########################################################
# UNZIP Manifest in /var/www/html/manifests/ on ders-plex #
###########################################################
# ssh to ders-plex
mkdir -p /var/www/html/manifests
mv /nfs/Download/manifest/spectro-manifests-1731600607.zip /var/www/html/manifests
cd /var/www/html/manifests
unzip spectro-manifests-1731600607.zip
systemctl restart httpd

curl http://172.16.84.22:8710/manifests/roar/nickfury/versions.yaml

#