This repository was archived by the owner on Apr 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae531fa
commit 840b1f5
Showing
2 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
#Requires -RunAsAdministrator | ||
|
||
# Install Chocolatey package manager | ||
# Reference https://chocolatey.org/install | ||
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | ||
|
||
# Virtual box | ||
choco install virtualbox --force --yes | ||
choco install virtualbox --yes | ||
|
||
# Minikube | ||
choco install minikube --force --yes | ||
choco install minikube --yes | ||
|
||
# Kubectl | ||
choco install kubernetes-cli --force --yes | ||
choco install kubernetes-cli --yes | ||
|
||
# Helm | ||
# choco install kubernetes-helm --yes | ||
#choco install kubernetes-helm --yes | ||
# Workaround due to issues with Helm 2.14, https://support.qlik.com/articles/000075385 | ||
choco install kubernetes-helm --version 2.13.1 --yes --force | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
# Start minikube with 2 CPU and 8GB RAM | ||
minikube start --memory 8000 --cpus=4 | ||
|
||
# Force Kubectl to poin to minikube | ||
kubectl config set-cluster minikube | ||
|
||
# Run the following command to add Qlik’s helm chart repository to Helm. This is where Qlik Sense is pulled from: | ||
helm repo add qlik https://qlik.bintray.com/stable | ||
|
||
# use helm to deploy into Kubernetes, the helm Tiller pod is added to the Kubernetes cluster first. | ||
helm init --wait | ||
|
||
# Install custom resource definitions used by dynamic engines | ||
helm install --name qliksense-init qlik/qliksense-init | ||
|
||
# Install the Qlik Sense package | ||
helm install -n qliksense qlik/qliksense -f values.yaml | ||
|
||
# List pods | ||
kubectl get pods | ||
|
||
# Print IP | ||
minikube ip |