Skip to content

Commit

Permalink
Default k command
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-romero committed May 28, 2024
1 parent 345c69c commit bdc8342
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/balena-k3s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ AWS_SECRET_ACCESS_KEY - needed along with AWS_ACCESS_KEY_ID
Now, ssh into `bastion` and run the following:
```bash
cd /app/edge-endpoint
KUBECTL_CMD="kubectl" INFERENCE_FLAVOR="CPU" DEPLOYMENT_NAMESPACE="default" ./deploy/bin/cluster_setup.sh
INFERENCE_FLAVOR="CPU" DEPLOYMENT_NAMESPACE="default" ./deploy/bin/cluster_setup.sh
```
2 changes: 1 addition & 1 deletion deploy/bin/cluster_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ check_pv_conflict() {
}


K=${KUBECTL_CMD:-"k3s kubectl"}
K=${KUBECTL_CMD:-"kubectl"}
INFERENCE_FLAVOR=${INFERENCE_FLAVOR:-"GPU"}
DB_RESET=$1
DEPLOY_LOCAL_VERSION=${DEPLOY_LOCAL_VERSION:-1}
Expand Down
2 changes: 1 addition & 1 deletion deploy/bin/make-aws-secret.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

K=${KUBECTL_CMD:-"k3s kubectl"}
K=${KUBECTL_CMD:-"kubectl"}

if command -v docker >/dev/null 2>&1; then
# Enable ECR login - make sure you have the aws client configured properly, or an IAM role
Expand Down

0 comments on commit bdc8342

Please sign in to comment.