Skip to content

Latest commit

 

History

History

kubernetes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Kubernetes Deployment

Connect to Kubernetes Cluster

Prerequisites

  1. Create secret and access key for your AWS account
  2. Download, install and configure AWS CLI
  3. Download, install and configure kubectl
  4. Download, install and configure helm
  5. Keel is deployed into cluster keel installation

Validate Application

Validate deployment with

helm lint helm/swissgeol-assets
helm lint helm/swissgeol-search

or pretend to install the chart to the cluster and if there is some issue it will show the error.

helm install --dry-run swissgeol-assets helm/swissgeol-assets
helm install --dry-run swissgeol-search helm/swissgeol-search

Deploy Application

Use the following commands to install, upgrade and uninstall the swissgeol-asset/swissgeol-search application on the cluster.

Valid actions are install, upgrade and uninstall. Valid template are swissgeol-assets and swissgeol-search Valid stages are dev, int and prod Valid instance (optional) are ext and view

# Installs the application on the cluster
.\swissgeol-app.ps1 -action install -template swissgeol-assets -stage dev -context my-stage-context

# Installs the application on the cluster as specific instance
.\swissgeol-app.ps1 -action install -template swissgeol-search -stage prod -instance view -context my-stage-context

# Update the application on the cluster
.\swissgeol-app.ps1 -action upgrade -template swissgeol-assets -stage dev -context my-stage-context

# Uninstall the application from the cluster. Use with caution!
.\swissgeol-app.ps1 -action uninstall -template swissgeol-assets -stage dev -context my-stage-context