Skip to content

Instantly share code, notes, and snippets.

View jtfogarty's full-sized avatar

Jeff Fogarty jtfogarty

View GitHub Profile
@jtfogarty
jtfogarty / Overview
Last active March 31, 2020 12:07
Attaching a shared PVC to JupyterHub - Rook-Ceph
We couldn’t find that file to show.
@jtfogarty
jtfogarty / output
Created September 29, 2018 11:40
remote goBuffalo startup
ADDR=192.168.1.75 HOST=http://192.168.1.75:3000 PORT=3000 buffalo dev
buffalo: 2018/09/29 06:32:01 === Rebuild on: :start: ===
buffalo: 2018/09/29 06:32:01 === Running: go build -v -i -tags development -o tmp/dr001-build (PID: 3000) ===
main.go:6:2: cannot find package "github.com/jtfogarty/dr001/actions" in any of:
/usr/lib/go-1.11/src/github.com/jtfogarty/dr001/actions (from $GOROOT)
/usr/local/sbin/src/github.com/jtfogarty/dr001/actions (from $GOPATH)
/usr/local/bin/src/github.com/jtfogarty/dr001/actions
/usr/sbin/src/github.com/jtfogarty/dr001/actions
/usr/bin/src/github.com/jtfogarty/dr001/actions
/sbin/src/github.com/jtfogarty/dr001/actions
pvc_mount = os.environ.get('NOTEBOOK_PVC_MOUNT')
if pvc_mount and pvc_mount != 'null':
c.KubeSpawner.user_storage_pvc_ensure = True
c.KubeSpawner.storage_pvc_ensure = True
# How much disk space do we want?
c.KubeSpawner.user_storage_capacity = '10Gi'
c.KubeSpawner.storage_capacity = '10Gi'
c.KubeSpawner.pvc_name_template = 'claim-{username}{servername}'
volumes.append(
{
@jtfogarty
jtfogarty / ssh output
Created October 9, 2018 18:15
jenkins-x install
jeff at jtfMBP2 in ~
$ vi .jx/gitAuth.yaml
You have new mail in /var/mail/jeff
jeff at jtfMBP2 in ~
$ rm -f .jx/gitAuth.yaml
jeff at jtfMBP2 in ~
$ jx create env
? Name: jtfogarty
apiVersion: v1
kind: Service
metadata:
annotations:
ksonnet.io/managed: '{"pristine":"H4sIAAAAAAAA/3SOQUtEMQyE7/6MOXd1Fy/SHyGC4EU8ZNso5b02pQkL8uh/lyzvori3ZPLNZDZQL288tEhDxOWEgKW0jIhXHpeSGAGVjTIZIW5Y6cyr+rSotMZ2X+QhSe3SuBkiqJ5JlbIMBOie8UueAY0q/2Vd005Xevk8HB8PI50c1s7JH3YZpojv2792vyI+HQOMxhfby77PD6+xcjIZnnKrkn13F58l89U6590PAAAA//8BAAD//9oxdp8dAQAA"}'
creationTimestamp: 2018-10-02T16:48:20Z
labels:
app.kubernetes.io/deploy-manager: ksonnet
ksonnet.io/component: ambassador
service: ambassador
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
FROM jupyter/scipy-notebook
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
# Set when building on Travis so that certain long-running build steps can
# be skipped to shorten build time.
ARG TEST_ONLY_BUILD
FROM 007ba7/usb-rapid-02
USER root
# R pre-requisites
RUN apt-get update && \
apt-get install -y --no-install-recommends \
fonts-dejavu \
tzdata \
gfortran \
curl https://raw.githubusercontent.com/kubeflow/kubeflow/${KUBEFLOW_TAG}/scripts/download.sh | bash
./scripts/kfctl.sh init ${KFAPP} --platform gcp --project ${PROJECT}
cd ${KFAPP}
${KUBEFLOW_SRC}/scripts/kfctl.sh generate platform
${KUBEFLOW_SRC}/scripts/kfctl.sh apply platform
Here is the final output;
~/kubeflow-introduction/kf-app-01/kf-app-01
+ '[' -f /Users/jefffogarty/kubeflow-introduction/kf-app-01/kf-app-01/gcp_config/network.yaml ']'
@jtfogarty
jtfogarty / Kubeflow Server Spec.md
Created December 5, 2018 17:09
Kubeflow Server Spec
Cisco Part Number Description Quantity
UCSC-C240-M5SX UCS C240 M5 24 SFF + 2 rear drives w/o CPU,mem,HD,PCIe,PS 1
UCS-HD600G15NK9 600GB 12G SAS 15K RPM SFF HDD (SED) 16
UCSC-NVMEHW-H3200 3.2TB 2.5in U.2 HGST SN200 NVMe 1
UCSC-GPU-V100-32 NVIDIA TESLA, VOLTA 100 PCIE 32GB, 250W 2
UCS-SD480GM1X-EV 480 GB Enterprise Value 6G SATA SSD 2
UCS-ML-X64G4RS-H 64GB DDR4-2666-MHz LRDIMM/PC4-21300/quad rank/x4/1.2v 12
UCS-CPU-6146 3.2 GHz 6146/165W 12C/24.75MB Cache/DDR4 2666MHz 2
CON-NCD4P-UCGPUV32 CMBSV 24X7X4OS NCD4PNVIDIA TESLA, VOLTA PCIE 32GB, 250W 2
@jtfogarty
jtfogarty / jx_init--helm-client-only.out
Created December 30, 2018 22:20
Configuring second workstation after creating jx/gke cluster from another workstation
jx version
Error loading team settings. Unable to locate dev environment resource definition in namespace default, No Environment called: dev or with selector: env=dev found 0 entries: []
Error loading team settings. Unable to locate dev environment resource definition in namespace default, No Environment called: dev or with selector: env=dev found 0 entries: []
Failed to find helm installs: failed to run 'helm list' command in directory '', output: '': exec: "helm": executable file not found in $PATH
Failed to get helm version: failed to run 'helm version --short' command in directory '', output: '': exec: "helm": executable file not found in $PATH
NAME VERSION
jx 1.3.688
Kubernetes cluster v1.10.9-gke.5
kubectl v1.10.7
git git version 2.17.2 (Apple Git-113)