Aurras
  • Overview
  • Components
    • Core
      • Configuration
    • Event Feed
      • Event Feed - Substrate
        • Configuration
        • Deployment
          • Docker Compose
          • Kubernetes
  • Dependencies
    • Docker
      • Environments
        • Windows
        • macOS
        • Ubuntu
    • Docker Compose
      • Environments
        • Windows
        • macOS
        • Ubuntu
    • Kubernetes
      • Environments
        • Windows
        • macOS
        • Ubuntu
    • Helm
    • Openwhisk
      • Deployment
        • Docker Compose
        • Kubernetes
          • Environment
            • Windows
            • macOS
            • Ubuntu
Powered by GitBook
On this page
  1. Dependencies
  2. Openwhisk
  3. Deployment
  4. Kubernetes
  5. Environment

Ubuntu

PreviousmacOS

Last updated 4 years ago

Deployment Guide

  1. Clone with submodules

git clone https://github.com/HugoByte/aurras-deployment-kubernetes --recurse-submodules

2. Navigate to openwhisk setup directory

cd aurras-deployment-kubernetes/openwhisk

3. Label the two worker nodes so that one is reserved for the invoker and the other will be used to run the rest of the OpenWhisk system.

kubectl label node kind-worker openwhisk-role=core
kubectl label node kind-worker2 openwhisk-role=invoker

4. Get InternalIP of the cluster

kubectl describe node kind-worker | grep InternalIP: | awk '{print $2}'

5. Creating mycluster.yaml with apiHostName as InternalIP of the nodes

Assuming the IP returned from the above step 4 as "192.168.65.3"

whisk:
  ingress:
    type: NodePort
    apiHostName: 192.168.65.3
    apiHostPort: 31001

nginx:
  httpsNodePort: 31001

6. Create a namespace

kubectl create namespace aurras

7. Deploy Openwhisk using helm

helm install openwhisk ./helm/openwhisk -n aurras -f mycluster.yaml

8. Get the summary of installation using

helm status openwhisk -n aurras
aurras-deployment-kubernetes