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 is the config to install Kubeflow on an existing K8s cluster, with support | |
# for multi-user and LDAP auth using Dex. | |
apiVersion: kfdef.apps.kubeflow.org/v1alpha1 | |
kind: KfDef | |
metadata: | |
name: demo | |
namespace: kubeflow | |
spec: | |
applications: |
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
apiVersion: kubeflow.org/v1alpha1 | |
kind: KfDef | |
spec: | |
applications: | |
- name: | |
kustomizeConfig: | |
name: jupyter-web-app | |
overlays: | |
- istio | |
repoRef: |
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
apiVersion: networking.istio.io/v1alpha3 | |
kind: EnvoyFilter | |
metadata: | |
name: authn-filter | |
spec: | |
workloadLabels: | |
istio: ingressgateway | |
filters: | |
- filterConfig: | |
httpService: |
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
connectors: | |
- type: ldap | |
# Required field for connector id. | |
id: ldap | |
# Required field for connector name. | |
name: LDAP | |
config: | |
# Host and optional port of the LDAP server in the form "host:port". | |
# If the port is not supplied, it will be guessed based on "insecureNoSSL", | |
# and "startTLS" flags. 389 for insecure or StartTLS connections, 636 |
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 already exists. | |
# If it doesn't, uncomment this. | |
#dn: dc=arrikto,dc=com | |
#objectClass: dcObject | |
#objectClass: organization | |
#o: Arrikto | |
#dc: arrikto | |
dn: ou=People,dc=arrikto,dc=com | |
objectClass: organizationalUnit |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: ldap | |
name: ldap-service | |
namespace: kubeflow | |
spec: | |
type: ClusterIP | |
clusterIP: None |
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
#!/bin/bash | |
set -e | |
# Edit according to your preference | |
GCP_USER="$(gcloud config list account --format "value(core.account)")" | |
GCP_PROJECT="$(gcloud config list project --format "value(core.project)")" | |
GCP_ZONE="us-west1-b" | |
CLUSTER_NAME="kubeflow" |
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
# Scale Up the Cassandra Cluster | |
kubectl edit clusters.cassandra.rook.io rook-cassandra -n rook-cassandra |
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
package netrl_test | |
import ( | |
"context" | |
"errors" | |
"flag" | |
"io" | |
"log" | |
"net" | |
"sync" |
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
package scylla_code_assignment | |
import ( | |
"context" | |
"github.com/pkg/errors" | |
log "github.com/sirupsen/logrus" | |
"golang.org/x/time/rate" | |
"net" | |
"time" | |
) |