Skip to content
Snippets Groups Projects
Commit efc7aa42 authored by Harald Mueller's avatar Harald Mueller
Browse files

Change namespace to codeco-swm...

parent b14875a9
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ Steps for getting a demo to run on a local Linux Helm environment and a local Ki
```bash
make chart
helm install qostest --namespace=controllers-system --create-namespace tmp/helm
helm install qostest --namespace=codeco-swm-controllers --create-namespace tmp/helm
```
- Show network topology/ network links (Custom Resources)
......
......@@ -53,6 +53,7 @@ spec:
args: ["cd /host/opt/cni/bin && wget https://github.com/containernetworking/plugins/releases/download/v1.0.1/cni-plugins-linux-amd64-v1.0.1.tgz -O cni-plugins-linux-amd64-v1.0.1.tgz && tar xzf cni-plugins-linux-amd64-v1.0.1.tgz"]
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
......
......@@ -7,7 +7,7 @@ global:
tag: latest
pullSecrets: []
credentials: {}
qosNamespace: controllers-system
qosNamespace: codeco-swm-controllers
# Default values for controller.
serviceAccount:
......
......@@ -3,7 +3,7 @@
{{- define "namespace" -}}
{{ cat "network-" . "-namespace" | lower | nospace }}
{{ cat "codeco-nw-" . "-ns" | lower | nospace }}
{{- end }}
{{- define "role" -}}
......
......@@ -9,7 +9,7 @@ global:
tag: latest
pullSecrets: []
credentials: {}
qosNamespace: controllers-system
qosNamespace: codeco-swm-controllers
serviceAccount:
create: true
......
......@@ -7,7 +7,7 @@ global:
tag: latest
pullSecrets: []
credentials: {}
qosNamespace: controllers-system
qosNamespace: codeco-swm-controllers
# Default values for solver.
......
......@@ -6,7 +6,7 @@
# Declare variables to be passed into your templates.
global:
qosNamespace: controllers-system
qosNamespace: codeco-swm-controllers
network:
image:
repositoryPrefix: hecodeco/swm-
......@@ -56,4 +56,4 @@ solver:
nsconfig:
namespaces:
- kube-system
- controllers-system
- codeco-swm-controllers
......@@ -11,7 +11,7 @@ set -euo pipefail
# This is the path from where this is being called from to where the script lives.
SCRIPTHOME=$(dirname $(realpath "$0"))
SED=${SED:-"gsed"}
# SED=${SED:-"gsed"}
DOCKERCONFIGJSON=${DOCKERCONFIGJSON:-"$HOME/.docker/config.json"}
# When you set this, make sure you've compiled the code for a compatible
......@@ -22,7 +22,8 @@ NODEK8SVERSION=${NODEK8SVERSION:-v1.23.1}
CONFIGDIR="demo"
$SED --follow-symlinks -i "s/image: kindest\/node:v[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+/image: kindest\/node:$NODEK8SVERSION/" $SCRIPTHOME/config/${CONFIGDIR}/cluster-config.yaml
# $SED --follow-symlinks -i "s/image: kindest\/node:v[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+/image: kindest\/node:$NODEK8SVERSION/" $SCRIPTHOME/config/${CONFIGDIR}/cluster-config.yaml
sed --follow-symlinks -i "s/image: kindest\/node:v[[:digit:]]\+.[[:digit:]]\+.[[:digit:]]\+/image: kindest\/node:$NODEK8SVERSION/" $SCRIPTHOME/config/${CONFIGDIR}/cluster-config.yaml
echo "creating ${CONFIGDIR} qos-scheduling cluster using Kubernetes version $NODEK8SVERSION"
......@@ -40,5 +41,3 @@ for n in $NODES; do
kubectl label --overwrite nodes $n $NODE_LABEL_PREFIX.$n=
done
kubectl label --overwrite node c1 $NODE_LABEL_PREFIX.restapidb=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment