Skip to content

Commit

Permalink
Add Static Volume Instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
christiann committed Sep 16, 2020
1 parent cdda6f4 commit bbf9835
Show file tree
Hide file tree
Showing 4 changed files with 571 additions and 28 deletions.
10 changes: 5 additions & 5 deletions GettingStarted.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand All @@ -224,15 +224,15 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME STATUS AGE\n",
"default Active 24d\n"
"default Active 31d\n"
]
}
],
Expand All @@ -250,14 +250,14 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Context \"development\" modified.\n",
"Context \"Development\" modified.\n",
"Active namespace is \"default\".\n"
]
}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# CTC MapR Static CSI Demo"
"# CTC HPE Ezmeral Data Fabric Static CSI Demo"
]
},
{
Expand Down Expand Up @@ -42,12 +42,10 @@
]
},
{
"cell_type": "code",
"execution_count": null,
"cell_type": "markdown",
"metadata": {},
"outputs": [],
"source": [
"ls ~"
"#### Select the K8s cluster where you are planning the deployment of dremio"
]
},
{
Expand All @@ -56,7 +54,14 @@
"metadata": {},
"outputs": [],
"source": [
"export KUBECONFIG=~/CTC_K8s_Cluster_admin_kubeconfig"
"kubectx Development"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Select the K8s Namespace / HPECP Tenant where you are planning to provide access to the static data fabric volume"
]
},
{
Expand All @@ -67,7 +72,7 @@
},
"outputs": [],
"source": [
"kubectl config set-context --current --namespace=k8s-demo-tenant"
"kubens team1"
]
},
{
Expand Down Expand Up @@ -188,7 +193,6 @@
"kind: Secret\n",
"metadata:\n",
" name: mapr-ticket-secret\n",
" namespace: k8s-demo-tenant\n",
"type: Opaque\n",
"data:\n",
" CONTAINER_TICKET: INSERT_BASE64_TICKET_HERE\n",
Expand Down Expand Up @@ -474,5 +478,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
89 changes: 75 additions & 14 deletions Tutorials/for_Data_Engineers/SQL_DREMIO/Deploy_Dremio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"tput: No value for $TERM and no -T specified\n",
"tput: No value for $TERM and no -T specified\n",
"tput: No value for $TERM and no -T specified\n",
"Development\n"
"Switched to context \"Development\".\n"
]
}
],
Expand All @@ -50,7 +47,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -66,6 +63,36 @@
"kubens team1"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Get Dremio Cloud"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cloning into 'dremio-cloud-tools'...\n",
"remote: Enumerating objects: 8, done.\u001b[K\n",
"remote: Counting objects: 100% (8/8), done.\u001b[K\n",
"remote: Compressing objects: 100% (6/6), done.\u001b[K\n",
"remote: Total 467 (delta 2), reused 8 (delta 2), pack-reused 459\u001b[K\n",
"Receiving objects: 100% (467/467), 140.53 KiB | 0 bytes/s, done.\n",
"Resolving deltas: 100% (196/196), done.\n"
]
}
],
"source": [
"git clone https://github.com/dremio/dremio-cloud-tools"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -180,12 +207,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Scaleout DREMIO Deployment with additional Executors"
"## SCALEOUT DREMIO Deployment with additional Executors"
]
},
{
"cell_type": "code",
"execution_count": 27,
"execution_count": 2,
"metadata": {},
"outputs": [
{
Expand All @@ -194,31 +221,32 @@
"text": [
"Release \"dremio\" has been upgraded. Happy Helming!\n",
"NAME: dremio\n",
"LAST DEPLOYED: Wed Sep 9 09:30:44 2020\n",
"LAST DEPLOYED: Tue Sep 15 08:40:49 2020\n",
"NAMESPACE: team1\n",
"STATUS: deployed\n",
"REVISION: 2\n",
"REVISION: 3\n",
"TEST SUITE: None\n"
]
}
],
"source": [
"helm upgrade dremio dremio-cloud-tools/charts/dremio_v2 -f values-dremio.yaml --set executor.count=3"
"helm upgrade dremio dremio-cloud-tools/charts/dremio_v2 -f values-dremio.yaml --set executor.count=4"
]
},
{
"cell_type": "code",
"execution_count": 29,
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"NAME READY STATUS RESTARTS AGE\n",
"dremio-executor-0 1/1 Running 0 10m\n",
"dremio-executor-1 1/1 Running 0 10m\n",
"dremio-executor-2 1/1 Running 0 113s\n"
"dremio-executor-0 1/1 Running 8 5d23h\n",
"dremio-executor-1 1/1 Running 8 5d23h\n",
"dremio-executor-2 1/1 Running 8 5d23h\n",
"dremio-executor-3 1/1 Running 0 13m\n"
]
}
],
Expand Down Expand Up @@ -271,6 +299,39 @@
"helm uninstall dremio"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Add Persistent Volume\n",
"\n"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"serviceaccount/datafabric-apps-sa unchanged\n",
"secret/datafabric-ticket-hcp-secret unchanged\n",
"error: error parsing static-pvc-datafabric.yaml: error converting YAML to JSON: yaml: line 25: found character that cannot start any token\n"
]
},
{
"ename": "",
"evalue": "1",
"output_type": "error",
"traceback": []
}
],
"source": [
"kubectl apply -f static-pvc-datafabric.yaml"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit bbf9835

Please sign in to comment.