Merge branch '1.3.0' of https://github.com/shuffle/shuffle into 1.3.0
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
module shuffle-shared
|
module shuffle-shared
|
||||||
|
|
||||||
replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
|
||||||
|
// replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
@@ -19,7 +20,7 @@ require (
|
|||||||
github.com/gorilla/mux v1.8.0
|
github.com/gorilla/mux v1.8.0
|
||||||
github.com/h2non/filetype v1.1.3
|
github.com/h2non/filetype v1.1.3
|
||||||
github.com/satori/go.uuid v1.2.0
|
github.com/satori/go.uuid v1.2.0
|
||||||
github.com/shuffle/shuffle-shared v0.4.54
|
github.com/shuffle/shuffle-shared v0.4.55
|
||||||
golang.org/x/crypto v0.9.0
|
golang.org/x/crypto v0.9.0
|
||||||
google.golang.org/api v0.125.0
|
google.golang.org/api v0.125.0
|
||||||
google.golang.org/appengine v1.6.7
|
google.golang.org/appengine v1.6.7
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
certs/
|
||||||
@@ -66,7 +66,7 @@ data:
|
|||||||
IS_KUBERNETES: "true"
|
IS_KUBERNETES: "true"
|
||||||
REGISTRY_URL: "172.17.14.71:5000"
|
REGISTRY_URL: "172.17.14.71:5000"
|
||||||
REGISTRY_AUTH: "false"
|
REGISTRY_AUTH: "false"
|
||||||
SHUFFLE_KUBERNETES_WORKER: "dhavald055/shuffle-k8s:shuffle-worker-kubernetes"
|
SHUFFLE_KUBERNETES_WORKER: "shuffle/shuffle:shuffle-worker:1.3.0"
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
@@ -623,7 +623,7 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
key: REGISTRY_AUTH
|
key: REGISTRY_AUTH
|
||||||
name: env
|
name: env
|
||||||
image: dhavald055/shuffle-k8s:shuffle-backend-kubernetes
|
image: shuffle/shuffle:shuffle-backend:1.3.0
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: shuffle-backend
|
name: shuffle-backend
|
||||||
ports:
|
ports:
|
||||||
@@ -690,7 +690,7 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: BACKEND_HOSTNAME
|
- name: BACKEND_HOSTNAME
|
||||||
image: ghcr.io/shuffle/shuffle-frontend:latest
|
image: ghcr.io/shuffle/shuffle-frontend:1.3.0
|
||||||
name: shuffle-frontend
|
name: shuffle-frontend
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
@@ -790,7 +790,7 @@ spec:
|
|||||||
key: SHUFFLE_KUBERNETES_WORKER
|
key: SHUFFLE_KUBERNETES_WORKER
|
||||||
name: env
|
name: env
|
||||||
|
|
||||||
image: dhavald055/shuffle-k8s:shuffle-orborus-kubernetes
|
image: shuffle/shuffle:shuffle-orborus:1.3.0
|
||||||
#imagePullPolicy: Never
|
#imagePullPolicy: Never
|
||||||
name: shuffle-orborus
|
name: shuffle-orborus
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|||||||
Executable
+34
@@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
read -p "Are you using Minikube? (yes/no): " is_minikube
|
||||||
|
|
||||||
|
default_ip=$(ifconfig | grep 'inet ' | grep -v 127.0.0.1 | awk '{print $2}')
|
||||||
|
|
||||||
|
if [ "$is_minikube" == "yes" ]; then
|
||||||
|
node_ip=$(minikube ip)
|
||||||
|
else
|
||||||
|
read -p "Enter your node IP (default is $default_ip): " custom_ip
|
||||||
|
# Use localhost as the default value
|
||||||
|
node_ip=${custom_ip:-$default_ip}
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using node IP: $node_ip to generate SSL certs!"
|
||||||
|
|
||||||
|
mkdir -p certs
|
||||||
|
|
||||||
|
# Generate CA key
|
||||||
|
openssl req -newkey rsa:4096 -nodes -sha256 -keyout certs/reg.key -x509 -days 365 -out certs/reg.crt -subj "/CN=$node_ip"
|
||||||
|
|
||||||
|
# generate a random string
|
||||||
|
random_string=$(openssl rand -hex 3)
|
||||||
|
|
||||||
|
echo "Starting docker registry with name shuffle-local-registry-$random_string.."
|
||||||
|
|
||||||
|
docker run -d -p 5000:5000 --restart=always --name "shuffle-local-registry-$random_string" \
|
||||||
|
-v $(pwd)/certs:/certs \
|
||||||
|
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/reg.crt \
|
||||||
|
-e REGISTRY_HTTP_TLS_KEY=/certs/reg.key \
|
||||||
|
registry:2
|
||||||
|
|
||||||
|
echo "Done!"
|
||||||
|
|
||||||
@@ -1,18 +1,19 @@
|
|||||||
## How to deploy Shuffle on Kubernetes?
|
## How to deploy Shuffle on Kubernetes?
|
||||||
|
|
||||||
### Prerequisites:
|
### Prerequisites:
|
||||||
- Clone the https://github.com/dhaval055/shuffle repository using Git and change the branch to shuffle-k8s then navigate to the functions/kubernetes directory, which contains all the necessary Kubernetes configuration files for deployment.
|
- Clone the https://github.com/shuffle/shuffle repository using Git then, navigate to the functions/kubernetes directory, which contains all the necessary Kubernetes configuration files for deployment.
|
||||||
- Running Kubernetes cluster.
|
- [Running a Kubernetes cluster](https://kubernetes.io/docs/setup/). You can do that with either minikube or run the cluster locally.
|
||||||
- Ensure you have a local Docker registry set up to store and manage Docker images for applications built with Shuffle. While the registry is crucial for handling custom-built apps, you’ll still be able to run workflows without it. To setup a docker registry, if you have docker installed on one of your node run following commands.
|
- Ensure you have a local Docker registry set up to store and manage Docker images for applications built with Shuffle. While the registry is crucial for handling custom-built apps, you’ll still be able to run workflows without it. To setup a docker registry, if you have docker installed on one of your node run following commands.
|
||||||
```
|
```
|
||||||
openssl req -newkey rsa:4096 -nodes -sha256 -keyout certs/reg.key -x509 -days 365 -out certs/reg.crt -subj "/CN=<YOUR_NODE_LOCAL_IP>"
|
chmod +x generate_certs.sh
|
||||||
docker run -d -p 5000:5000 --restart=always --name shuffle-local-registry \
|
./generate_certs.sh
|
||||||
-v $(pwd)/certs:/certs \
|
|
||||||
-e REGISTRY_HTTP_TLS_CERTIFICATE=/certs/reg.crt \
|
|
||||||
-e REGISTRY_HTTP_TLS_KEY=/certs/reg.key \
|
|
||||||
registry:2
|
|
||||||
```
|
```
|
||||||
- If you've used the above commands to set up a registry, you'll need to skip an SSL verification for your registry. If you're using Containerd as a runtime
|
|
||||||
|
This will give you a NODE_IP which is you're local IP if you're not sure about what to use.
|
||||||
|
|
||||||
|
- 8 GB RAM and 4 CPUs are recommended as **minimum configs** for running Shuffle on Kubernetes. K8s is a resource-intensive application, and you may experience performance issues if you run it on a machine with fewer resources.
|
||||||
|
|
||||||
|
- If you've used the above commands to set up a registry, you'll need to skip an SSL verification for your registry. If you're using Containerd as a runtime
|
||||||
add the following lines in /etc/containerd/config.toml
|
add the following lines in /etc/containerd/config.toml
|
||||||
```
|
```
|
||||||
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."<REGISTRY_NODE_IP:PORT>"]
|
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."<REGISTRY_NODE_IP:PORT>"]
|
||||||
@@ -20,25 +21,12 @@
|
|||||||
|
|
||||||
[plugins."io.containerd.grpc.v1.cri".registry.configs."<REGISTRY_NODE_IP:PORT>".tls]
|
[plugins."io.containerd.grpc.v1.cri".registry.configs."<REGISTRY_NODE_IP:PORT>".tls]
|
||||||
insecure_skip_verify = true
|
insecure_skip_verify = true
|
||||||
|
|
||||||
```
|
```
|
||||||
Step 1: Create a namespace called shuffle in a cluster by running ```kubectl create ns shuffle```.
|
Step 1: Create a namespace called shuffle in a cluster by running ```kubectl create ns shuffle```.
|
||||||
|
|
||||||
Step 2: Open the shuffle-cm.yaml file and review the configuration values. Change the value of REGISTRY_URL with '<NODE_IP>:5000' where the registry is at. Adjust other variables as per your deployment requirements; otherwise, the application will deploy using the default settings provided within the file. Then apply the configmap with ‘kubectl apply -f shuffle-cm.yaml -n shuffle’.
|
Step 2: Open the ```all-in-one.yaml``` file and review the configuration values. Change the value of REGISTRY_URL with '<NODE_IP>:5000' where the registry is at. Adjust other variables as per your deployment requirements; otherwise, the application will deploy using the default settings provided within the file. Then apply the configmap and deploy with ```kubectl apply -f all-in-one.yaml -n shuffle```
|
||||||
|
|
||||||
Step 3: Apply shuffle-role.yaml by using ```kubectl apply -f shuffle-role.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 4: Subsequently, establish the role bindings to associate the roles with the appropriate service accounts by applying the shuffle-rolebinding.yaml configuration using ```kubectl apply -f shuffle-rolebinding.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 5: Create storage-class for shuffle by running ```kubectl apply -f shuffle-sc.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 6: Apply the shuffle-opensearch.yaml configuration to create a Persistent Volume Claim (PVC) for storage, a Deployment to manage the OpenSearch pod, and a Service to expose OpenSearch within the cluster by using ```kubectl apply -f shuffle-opensearch.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 7: Now deploy the backend using ```kubectl apply -f shuffle-backend.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 8: Ensure that the Shuffle Backend is successfully deployed and running before proceeding with the frontend deployment, as the frontend may depend on services provided by the backend. ```kubectl apply -f shuffle-frontend.yaml -n shuffle```.
|
|
||||||
|
|
||||||
Step 9: Run ```kubectl apply -f shuffle-orborus.yaml -n shuffle```. This final step ensures that Shuffle Orborus is deployed, enabling the workflow executions in your Kubernetes-based Shuffle setup.
|
|
||||||
|
|
||||||
Now, open ```https://<YOUR_NODE_IP>:30008``` or ```http://<YOUR_NODE_IP>:30007```. You should be seeing a signup page. NODE_IP should be where the frontend is deployed.
|
Now, open ```https://<YOUR_NODE_IP>:30008``` or ```http://<YOUR_NODE_IP>:30007```. You should be seeing a signup page. NODE_IP should be where the frontend is deployed.
|
||||||
|
|
||||||
|
If you're running on minikube and you can't access the ports 30007-30008, you can use ```kubectl port-forward svc/frontend 3001:80 -n shuffle``` to access the frontend on port 3000
|
||||||
|
|
||||||
|
|||||||
@@ -1,431 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: shuffle-apps-pv
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 10Gi
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
storageClassName: shuffle-data
|
|
||||||
hostPath:
|
|
||||||
path: /mnt/shuffle-data/backend
|
|
||||||
|
|
||||||
## ---
|
|
||||||
|
|
||||||
# apiVersion: v1
|
|
||||||
# kind: PersistentVolume
|
|
||||||
# metadata:
|
|
||||||
# name: shuffle-files-pv
|
|
||||||
# spec:
|
|
||||||
# capacity:
|
|
||||||
# storage: 5Gi
|
|
||||||
# accessModes:
|
|
||||||
# - ReadWriteOnce
|
|
||||||
# persistentVolumeReclaimPolicy: Retain
|
|
||||||
# storageClassName: fast
|
|
||||||
# hostPath:
|
|
||||||
# path: /mnt/shuffle-data/backend
|
|
||||||
|
|
||||||
# ---
|
|
||||||
|
|
||||||
# apiVersion: v1
|
|
||||||
# kind: PersistentVolumeClaim
|
|
||||||
# metadata:
|
|
||||||
# creationTimestamp: null
|
|
||||||
# labels:
|
|
||||||
# io.kompose.service: backend-files-claim
|
|
||||||
# name: backend-files-claim
|
|
||||||
# spec:
|
|
||||||
# accessModes:
|
|
||||||
# - ReadWriteOnce
|
|
||||||
# storageClassName: fast
|
|
||||||
# resources:
|
|
||||||
# requests:
|
|
||||||
# storage: 1Gi
|
|
||||||
# status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: backend-apps-claim
|
|
||||||
name: backend-apps-claim
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: shuffle-data
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
# status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: backend
|
|
||||||
name: backend
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
io.kompose.service: backend
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.network/shuffle: "true"
|
|
||||||
io.kompose.service: backend
|
|
||||||
app: shuffle-backend
|
|
||||||
name: shuffle-backend
|
|
||||||
spec:
|
|
||||||
volumes:
|
|
||||||
# - name: shuffle-files
|
|
||||||
# persistentVolumeClaim:
|
|
||||||
# claimName: backend-files-claim
|
|
||||||
# - name: shuffle-apps
|
|
||||||
# hostPath:
|
|
||||||
# path: /mnt/shuffle-data/backend
|
|
||||||
# type: DirectoryOrCreate
|
|
||||||
- name: shuffle-apps
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: backend-apps-claim
|
|
||||||
# - name: docker-socket
|
|
||||||
# hostPath:
|
|
||||||
# path: /var/run/docker.sock
|
|
||||||
# nodeSelector:
|
|
||||||
# node: master
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: BACKEND_HOSTNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: BACKEND_HOSTNAME
|
|
||||||
name: env
|
|
||||||
- name: BACKEND_PORT
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: BACKEND_PORT
|
|
||||||
name: env
|
|
||||||
- name: BASE_URL
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: BASE_URL
|
|
||||||
name: env
|
|
||||||
- name: DATASTORE_EMULATOR_HOST
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: DATASTORE_EMULATOR_HOST
|
|
||||||
name: env
|
|
||||||
- name: DB_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: DB_LOCATION
|
|
||||||
name: env
|
|
||||||
- name: DOCKER_API_VERSION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: DOCKER_API_VERSION
|
|
||||||
name: env
|
|
||||||
- name: ENVIRONMENT_NAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: ENVIRONMENT_NAME
|
|
||||||
name: env
|
|
||||||
- name: FRONTEND_PORT
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: FRONTEND_PORT
|
|
||||||
name: env
|
|
||||||
- name: FRONTEND_PORT_HTTPS
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: FRONTEND_PORT_HTTPS
|
|
||||||
name: env
|
|
||||||
- name: HTTPS_PROXY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: HTTPS_PROXY
|
|
||||||
name: env
|
|
||||||
- name: HTTP_PROXY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: HTTP_PROXY
|
|
||||||
name: env
|
|
||||||
- name: ORBORUS_CONTAINER_NAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: ORBORUS_CONTAINER_NAME
|
|
||||||
name: env
|
|
||||||
- name: ORG_ID
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: ORG_ID
|
|
||||||
name: env
|
|
||||||
- name: OUTER_HOSTNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: OUTER_HOSTNAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_APP_DOWNLOAD_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_APP_DOWNLOAD_LOCATION
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_APP_FORCE_UPDATE
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_APP_FORCE_UPDATE
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_APP_HOTLOAD_FOLDER
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_APP_HOTLOAD_FOLDER
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_APP_HOTLOAD_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_APP_HOTLOAD_LOCATION
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_BASE_IMAGE_NAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_BASE_IMAGE_NAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_BASE_IMAGE_REGISTRY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_BASE_IMAGE_REGISTRY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_BASE_IMAGE_TAG_SUFFIX
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_BASE_IMAGE_TAG_SUFFIX
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_CHAT_DISABLED
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_CHAT_DISABLED
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_CONTAINER_AUTO_CLEANUP
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_CONTAINER_AUTO_CLEANUP
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DEFAULT_APIKEY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DEFAULT_APIKEY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DEFAULT_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DEFAULT_PASSWORD
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DEFAULT_USERNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DEFAULT_USERNAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_AUTH_BRANCH
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_AUTH_BRANCH
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_AUTH_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_AUTH_PASSWORD
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_AUTH_USERNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_AUTH_USERNAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_WORKFLOW_BRANCH
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_WORKFLOW_BRANCH
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_WORKFLOW_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_WORKFLOW_LOCATION
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_WORKFLOW_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_WORKFLOW_PASSWORD
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_DOWNLOAD_WORKFLOW_USERNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_DOWNLOAD_WORKFLOW_USERNAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_ELASTIC
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_ELASTIC
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_ENCRYPTION_MODIFIER
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_ENCRYPTION_MODIFIER
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_FILE_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_FILE_LOCATION
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_LOGS_DISABLED
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_LOGS_DISABLED
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_APIKEY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_APIKEY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_CERTIFICATE_FILE
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_CERTIFICATE_FILE
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_CLOUDID
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_CLOUDID
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_INDEX_PREFIX
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_INDEX_PREFIX
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_PASSWORD
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_PASSWORD
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_PROXY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_PROXY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_SKIPSSL_VERIFY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_SKIPSSL_VERIFY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_URL
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_URL
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_OPENSEARCH_USERNAME
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_OPENSEARCH_USERNAME
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_ORBORUS_STARTUP_DELAY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_ORBORUS_STARTUP_DELAY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_PASS_APP_PROXY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_PASS_APP_PROXY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_PASS_WORKER_PROXY
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_PASS_WORKER_PROXY
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_RERUN_SCHEDULE
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_RERUN_SCHEDULE
|
|
||||||
name: env
|
|
||||||
- name: SSO_REDIRECT_URL
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SSO_REDIRECT_URL
|
|
||||||
name: env
|
|
||||||
- name: TZ
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: TZ
|
|
||||||
name: env
|
|
||||||
- name: IS_KUBERNETES
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: IS_KUBERNETES
|
|
||||||
name: env
|
|
||||||
- name: REGISTRY_URL
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: REGISTRY_URL
|
|
||||||
name: env
|
|
||||||
- name: REGISTRY_AUTH
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: REGISTRY_AUTH
|
|
||||||
name: env
|
|
||||||
image: dhavald055/shuffle-k8s:shuffle-backend-kubernetes
|
|
||||||
imagePullPolicy: Always
|
|
||||||
name: shuffle-backend
|
|
||||||
ports:
|
|
||||||
- containerPort: 5001
|
|
||||||
resources: {}
|
|
||||||
volumeMounts:
|
|
||||||
# - name: docker-socket
|
|
||||||
# mountPath: /var/run/docker.sock
|
|
||||||
- name: shuffle-apps
|
|
||||||
mountPath: /app/generated
|
|
||||||
# - name: shuffle-files
|
|
||||||
# mountPath: /shuffle-files
|
|
||||||
restartPolicy: Always
|
|
||||||
status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: backend
|
|
||||||
name: shuffle-backend
|
|
||||||
spec:
|
|
||||||
type: NodePort
|
|
||||||
ports:
|
|
||||||
- name: "50001"
|
|
||||||
port: 5001
|
|
||||||
targetPort: 5001
|
|
||||||
nodePort: 30009
|
|
||||||
selector:
|
|
||||||
io.kompose.service: backend
|
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
data:
|
|
||||||
BACKEND_HOSTNAME: shuffle-backend
|
|
||||||
BACKEND_PORT: "5001"
|
|
||||||
BASE_URL: http://shuffle-backend:5001
|
|
||||||
DATASTORE_EMULATOR_HOST: shuffle-database:8000
|
|
||||||
DB_LOCATION: /mnt/shuffle-data/open-search
|
|
||||||
DOCKER_API_VERSION: "1.40"
|
|
||||||
ENVIRONMENT_NAME: Shuffle
|
|
||||||
FRONTEND_PORT: "3001"
|
|
||||||
FRONTEND_PORT_HTTPS: "3443"
|
|
||||||
HTTP_PROXY: ""
|
|
||||||
HTTPS_PROXY: ""
|
|
||||||
ORBORUS_CONTAINER_NAME: "\t\t\t\t"
|
|
||||||
ORG_ID: Shuffle
|
|
||||||
OUTER_HOSTNAME: shuffle-backend
|
|
||||||
SHUFFLE_APP_DOWNLOAD_LOCATION: https://github.com/shuffle/python-apps
|
|
||||||
SHUFFLE_APP_FORCE_UPDATE: "false"
|
|
||||||
SHUFFLE_APP_HOTLOAD_FOLDER: /shuffle-apps
|
|
||||||
SHUFFLE_APP_HOTLOAD_LOCATION: ./shuffle-apps
|
|
||||||
SHUFFLE_BASE_IMAGE_NAME: shuffle
|
|
||||||
SHUFFLE_BASE_IMAGE_REGISTRY: ghcr.io
|
|
||||||
SHUFFLE_BASE_IMAGE_TAG_SUFFIX: -1.0.0
|
|
||||||
SHUFFLE_CHAT_DISABLED: "false"
|
|
||||||
SHUFFLE_CONTAINER_AUTO_CLEANUP: "false"
|
|
||||||
SHUFFLE_DEFAULT_APIKEY: ""
|
|
||||||
SHUFFLE_DEFAULT_PASSWORD: ""
|
|
||||||
SHUFFLE_DEFAULT_USERNAME: ""
|
|
||||||
SHUFFLE_DOWNLOAD_AUTH_BRANCH: ""
|
|
||||||
SHUFFLE_DOWNLOAD_AUTH_PASSWORD: ""
|
|
||||||
SHUFFLE_DOWNLOAD_AUTH_USERNAME: ""
|
|
||||||
SHUFFLE_DOWNLOAD_WORKFLOW_BRANCH: ""
|
|
||||||
SHUFFLE_DOWNLOAD_WORKFLOW_LOCATION: ""
|
|
||||||
SHUFFLE_DOWNLOAD_WORKFLOW_PASSWORD: ""
|
|
||||||
SHUFFLE_DOWNLOAD_WORKFLOW_USERNAME: ""
|
|
||||||
SHUFFLE_ELASTIC: "true"
|
|
||||||
SHUFFLE_ENCRYPTION_MODIFIER: ""
|
|
||||||
SHUFFLE_FILE_LOCATION: /shuffle-files
|
|
||||||
SHUFFLE_LOGS_DISABLED: "false"
|
|
||||||
SHUFFLE_OPENSEARCH_APIKEY: ""
|
|
||||||
SHUFFLE_OPENSEARCH_CERTIFICATE_FILE: ""
|
|
||||||
SHUFFLE_OPENSEARCH_CLOUDID: ""
|
|
||||||
SHUFFLE_OPENSEARCH_INDEX_PREFIX: ""
|
|
||||||
SHUFFLE_OPENSEARCH_PASSWORD: admin
|
|
||||||
SHUFFLE_OPENSEARCH_PROXY: ""
|
|
||||||
SHUFFLE_OPENSEARCH_SKIPSSL_VERIFY: "true"
|
|
||||||
SHUFFLE_OPENSEARCH_URL: https://opensearch:9200
|
|
||||||
SHUFFLE_OPENSEARCH_USERNAME: admin
|
|
||||||
SHUFFLE_ORBORUS_STARTUP_DELAY: "\t\t"
|
|
||||||
SHUFFLE_PASS_APP_PROXY: "FALSE"
|
|
||||||
SHUFFLE_PASS_WORKER_PROXY: "TRUE"
|
|
||||||
SHUFFLE_RERUN_SCHEDULE: "300"
|
|
||||||
SSO_REDIRECT_URL: ""
|
|
||||||
TZ: "Europe/Amsterdam \t\t\t\t\t"
|
|
||||||
IS_KUBERNETES: "true"
|
|
||||||
REGISTRY_URL: "172.17.14.71:5000"
|
|
||||||
REGISTRY_AUTH: "true" #set it to true if you are using registry with authentication
|
|
||||||
SHUFFLE_KUBERNETES_WORKER: "dhavald055/shuffle-k8s:shuffle-worker-kubernetes"
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: backend-env
|
|
||||||
name: env
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: frontend
|
|
||||||
name: frontend
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
io.kompose.service: frontend
|
|
||||||
strategy: {}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.network/shuffle: "true"
|
|
||||||
io.kompose.service: frontend
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: BACKEND_HOSTNAME
|
|
||||||
image: ghcr.io/shuffle/shuffle-frontend:latest
|
|
||||||
name: shuffle-frontend
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
- containerPort: 443
|
|
||||||
resources: {}
|
|
||||||
hostname: shuffle-frontend
|
|
||||||
restartPolicy: Always
|
|
||||||
status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: frontend
|
|
||||||
name: frontend
|
|
||||||
spec:
|
|
||||||
type: NodePort
|
|
||||||
ports:
|
|
||||||
- name: "80"
|
|
||||||
port: 80
|
|
||||||
targetPort: 80
|
|
||||||
nodePort: 30007
|
|
||||||
- name: "443"
|
|
||||||
port: 443
|
|
||||||
targetPort: 443
|
|
||||||
nodePort: 30008
|
|
||||||
selector:
|
|
||||||
io.kompose.service: frontend
|
|
||||||
# status:
|
|
||||||
# loadBalancer: {}
|
|
||||||
@@ -1,136 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: shuffle-os-pv
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 10Gi # Adjust the storage size as per your requirements
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce # This allows read-write access to a single node
|
|
||||||
persistentVolumeReclaimPolicy: Retain # Adjust the reclaim policy as per your needs
|
|
||||||
storageClassName: shuffle-data # Set the desired storage class
|
|
||||||
hostPath:
|
|
||||||
path: /mnt/shuffle-data/open-search
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: opensearch-claim0
|
|
||||||
name: opensearch-claim0
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: shuffle-data
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 500Mi
|
|
||||||
status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: opensearch
|
|
||||||
name: opensearch
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
io.kompose.service: opensearch
|
|
||||||
strategy: {}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.network/shuffle: "true"
|
|
||||||
io.kompose.service: opensearch
|
|
||||||
spec:
|
|
||||||
# securityContext:
|
|
||||||
# runAsUser: 1000 # UID
|
|
||||||
# fsGroup: 1000 # GID
|
|
||||||
# nodeSelector:
|
|
||||||
# node: worker1
|
|
||||||
initContainers:
|
|
||||||
- name: volume-permissions
|
|
||||||
image: busybox
|
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /usr/share/opensearch/data"]
|
|
||||||
volumeMounts:
|
|
||||||
- name: opensearch-claim0
|
|
||||||
mountPath: /usr/share/opensearch/data
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: OPENSEARCH_JAVA_OPTS
|
|
||||||
value: -Xms1024m -Xmx1024m
|
|
||||||
#- name: bootstrap.memory_lock
|
|
||||||
#value: "true"
|
|
||||||
- name: cluster.initial_master_nodes
|
|
||||||
value: shuffle-opensearch
|
|
||||||
- name: cluster.name
|
|
||||||
value: shuffle-cluster
|
|
||||||
- name: cluster.routing.allocation.disk.threshold_enabled
|
|
||||||
value: "false"
|
|
||||||
- name: discovery.seed_hosts
|
|
||||||
value: shuffle-opensearch
|
|
||||||
- name: node.name
|
|
||||||
value: shuffle-opensearch
|
|
||||||
- name: node.store.allow_mmap
|
|
||||||
value: "false"
|
|
||||||
- name: DB_LOCATION
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
name: env
|
|
||||||
key: DB_LOCATION
|
|
||||||
image: opensearchproject/opensearch:2.5.0
|
|
||||||
name: shuffle-opensearch
|
|
||||||
ports:
|
|
||||||
- containerPort: 9200
|
|
||||||
resources: {}
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /usr/share/opensearch/data
|
|
||||||
name: opensearch-claim0
|
|
||||||
hostname: shuffle-opensearch
|
|
||||||
restartPolicy: Always
|
|
||||||
volumes:
|
|
||||||
- name: opensearch-claim0
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: opensearch-claim0
|
|
||||||
status: {}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: opensearch
|
|
||||||
name: opensearch
|
|
||||||
spec:
|
|
||||||
type: NodePort
|
|
||||||
ports:
|
|
||||||
- name: "9200"
|
|
||||||
port: 9200
|
|
||||||
targetPort: 9200
|
|
||||||
nodePort: 31001
|
|
||||||
selector:
|
|
||||||
io.kompose.service: opensearch
|
|
||||||
status:
|
|
||||||
loadBalancer: {}
|
|
||||||
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.service: orborus
|
|
||||||
name: orborus
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
io.kompose.service: orborus
|
|
||||||
strategy: {}
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
kompose.cmd: kompose convert -f docker-compose.yml
|
|
||||||
kompose.version: 1.26.0 (40646f47)
|
|
||||||
creationTimestamp: null
|
|
||||||
labels:
|
|
||||||
io.kompose.network/shuffle: "true"
|
|
||||||
io.kompose.service: orborus
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: BASE_URL
|
|
||||||
value: "http://shuffle-backend:5001"
|
|
||||||
- name: DOCKER_API_VERSION
|
|
||||||
value: "1.40"
|
|
||||||
- name: ENVIRONMENT_NAME
|
|
||||||
value: Shuffle
|
|
||||||
- name: ORG_ID
|
|
||||||
value: Shuffle
|
|
||||||
- name: SHUFFLE_APP_SDK_VERSION
|
|
||||||
value: nightly
|
|
||||||
- name: SHUFFLE_SCALE_REPLICAS
|
|
||||||
value: "5"
|
|
||||||
#- name: SHUFFLE_SWARM_CONFIG
|
|
||||||
#value: run
|
|
||||||
- name: SHUFFLE_WORKER_VERSION
|
|
||||||
value: nightly
|
|
||||||
- name: IS_KUBERNETES
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: IS_KUBERNETES
|
|
||||||
name: env
|
|
||||||
- name: REGISTRY_URL
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: REGISTRY_URL
|
|
||||||
name: env
|
|
||||||
- name: SHUFFLE_KUBERNETES_WORKER
|
|
||||||
valueFrom:
|
|
||||||
configMapKeyRef:
|
|
||||||
key: SHUFFLE_KUBERNETES_WORKER
|
|
||||||
name: env
|
|
||||||
|
|
||||||
image: dhavald055/shuffle-k8s:shuffle-orborus-kubernetes
|
|
||||||
#imagePullPolicy: Never
|
|
||||||
name: shuffle-orborus
|
|
||||||
resources: {}
|
|
||||||
hostname: shuffle-orborus
|
|
||||||
restartPolicy: Always
|
|
||||||
status: {}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: Role
|
|
||||||
metadata:
|
|
||||||
namespace: shuffle
|
|
||||||
name: pod-manager
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["pods"]
|
|
||||||
verbs: ["get", "list", "create", "update", "delete"]
|
|
||||||
- apiGroups: ["batch"]
|
|
||||||
resources: ["jobs"]
|
|
||||||
verbs: ["create", "get", "list", "watch", "delete"]
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
name: pod-manager-binding
|
|
||||||
namespace: shuffle
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: default
|
|
||||||
namespace: shuffle
|
|
||||||
roleRef:
|
|
||||||
kind: Role
|
|
||||||
name: pod-manager
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: storage.k8s.io/v1
|
|
||||||
kind: StorageClass
|
|
||||||
metadata:
|
|
||||||
name: shuffle-data
|
|
||||||
provisioner: kubernetes.io/no-provisioner
|
|
||||||
volumeBindingMode: WaitForFirstConsumer
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user