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
d54f86a
commit e26770c
Showing
6 changed files
with
151 additions
and
26 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#Requires -RunAsAdministrator | ||
|
||
# Virtual box | ||
choco install virtualbox --force --yes | ||
|
||
# Minikube | ||
choco install minikube --force --yes | ||
|
||
# Kubectl | ||
choco install kubernetes-cli --force --yes | ||
|
||
# Helm | ||
# 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,16 @@ | ||
#!/bin/bash | ||
|
||
# Update Homebrew | ||
brew update | ||
|
||
# Virtual box | ||
brew cask install virtualbox | ||
|
||
# Minikube | ||
brew cask install minikube | ||
|
||
# Kubectl | ||
brew install kubernetes-cli | ||
|
||
# Helm | ||
brew install kubernetes-helm |
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
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 |
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
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,13 @@ | ||
# Uncomment lines with localhost on them: | ||
$hostsPath = "$env:windir\System32\drivers\etc\hosts" | ||
$hostsPath | ||
$hosts = get-content $hostsPath | ||
$hosts = $hosts | ForEach-Object {if ($_ -match '^\s*#\s*(.*?\d{1,3}.*?elastic.*)') | ||
{$matches[1]} else {$_}} | ||
$hosts | Out-File $hostsPath -enc ascii | ||
|
||
# Comment lines with localhost on them: | ||
$hosts = get-content $hostsPath | ||
$hosts | Foreach {if ($_ -match '^\s*([^#].*?\d{1,3}.*?localhost.*)') | ||
{"# " + $matches[1]} else {$_}} | | ||
Out-File $hostsPath -enc ascii |