Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-0.12][manual] hack: fix setup-minikube.sh #179

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions hack/setup-minikube.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -eux
set -eu

RESERVED_CPUS=${RESERVED_CPUS:-0,8}
TM_POLICY=${TM_POLICY:-single-numa-node}
Expand All @@ -17,11 +17,12 @@ minikube start \
kubectl label node minikube-m02 node-role.kubernetes.io/worker=''
kubectl label node minikube-m03 node-role.kubernetes.io/worker=''

echo <<< EOF > rte-minikube.yaml
cat << EOF > rte-minikube.yaml
kubelet:
topologyManagerPolicy: ${TM_POLICY}
topologyManagerScope: ${TM_SCOPE}
EOF

echo "# setup done! now run:"
echo "deployer deploy api"
echo "deployer deploy topology-updater --rte-config-file ./rte-minikube.yaml"