Update data: 5 units
Browse files- computing_math/k8s_migration_1/base/input
- computing_math/k8s_migration_1/base/software
- computing_math/k8s_payment_api_root_cause_analysis/base/input
- computing_math/k8s_payment_api_root_cause_analysis/base/software
- computing_math/mp_checkpoint_consolidation_v2/base/input
- tasks/computing_math/k8s_migration_1/base/software/README.txt +22 -0
- tasks/computing_math/k8s_migration_1/base/software/docker +7 -0
- tasks/computing_math/k8s_migration_1/base/software/helm +12 -0
- tasks/computing_math/k8s_migration_1/base/software/kubectl +9 -0
- tasks/computing_math/k8s_migration_1/base/software/minikube +10 -0
- tasks/computing_math/k8s_migration_1/base/software/terraform +7 -0
- tasks/computing_math/k8s_migration_1/base/software/trivy +9 -0
- tasks/computing_math/k8s_payment_api_root_cause_analysis/base/software/README.txt +1 -0
tasks/computing_math/k8s_migration_1/base/software/README.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Pinned task-local CLI entry points (run these exact wrappers from the task
|
| 2 |
+
root):
|
| 3 |
+
|
| 4 |
+
- software/docker -> /usr/bin/docker (preinstalled on the VM)
|
| 5 |
+
- software/minikube -> /opt/minikube-1.32.0/bin/minikube
|
| 6 |
+
- software/kubectl -> /opt/kubectl-1.29.0/bin/kubectl
|
| 7 |
+
- software/helm -> /opt/helm-3.14.0/bin/helm
|
| 8 |
+
- software/terraform -> /opt/terraform-1.7.0/bin/terraform
|
| 9 |
+
- software/trivy -> /opt/trivy-0.70.0/bin/trivy
|
| 10 |
+
|
| 11 |
+
The wrappers for minikube / kubectl / helm / trivy export task-safe cache
|
| 12 |
+
locations on the persistent data disk:
|
| 13 |
+
|
| 14 |
+
MINIKUBE_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.minikube
|
| 15 |
+
KUBECONFIG=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.kube/config
|
| 16 |
+
HELM_CACHE_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/cache
|
| 17 |
+
HELM_CONFIG_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/config
|
| 18 |
+
HELM_DATA_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/data
|
| 19 |
+
TRIVY_CACHE_DIR=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/trivy-cache
|
| 20 |
+
|
| 21 |
+
Working directory on the VM:
|
| 22 |
+
/media/user/data/agenthle/software_development/k8s_migration_1/base/
|
tasks/computing_math/k8s_migration_1/base/software/docker
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
if [[ ! -x /usr/bin/docker ]]; then
|
| 4 |
+
echo "Missing Docker at /usr/bin/docker. Ask an admin to verify the selected VM." >&2
|
| 5 |
+
exit 1
|
| 6 |
+
fi
|
| 7 |
+
exec /usr/bin/docker "$@"
|
tasks/computing_math/k8s_migration_1/base/software/helm
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
export KUBECONFIG=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.kube/config
|
| 4 |
+
export HELM_CACHE_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/cache
|
| 5 |
+
export HELM_CONFIG_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/config
|
| 6 |
+
export HELM_DATA_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/helm/data
|
| 7 |
+
if [[ ! -x /opt/helm-3.14.0/bin/helm ]]; then
|
| 8 |
+
echo "Missing Helm at /opt/helm-3.14.0/bin/helm. Ask an admin to run scripts/install_software.sh on the target VM." >&2
|
| 9 |
+
exit 1
|
| 10 |
+
fi
|
| 11 |
+
mkdir -p "$HELM_CACHE_HOME" "$HELM_CONFIG_HOME" "$HELM_DATA_HOME" "$(dirname "$KUBECONFIG")"
|
| 12 |
+
exec /opt/helm-3.14.0/bin/helm "$@"
|
tasks/computing_math/k8s_migration_1/base/software/kubectl
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
export KUBECONFIG=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.kube/config
|
| 4 |
+
if [[ ! -x /opt/kubectl-1.29.0/bin/kubectl ]]; then
|
| 5 |
+
echo "Missing kubectl at /opt/kubectl-1.29.0/bin/kubectl. Ask an admin to run scripts/install_software.sh on the target VM." >&2
|
| 6 |
+
exit 1
|
| 7 |
+
fi
|
| 8 |
+
mkdir -p "$(dirname "$KUBECONFIG")"
|
| 9 |
+
exec /opt/kubectl-1.29.0/bin/kubectl "$@"
|
tasks/computing_math/k8s_migration_1/base/software/minikube
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
export MINIKUBE_HOME=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.minikube
|
| 4 |
+
export KUBECONFIG=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/.kube/config
|
| 5 |
+
if [[ ! -x /opt/minikube-1.32.0/bin/minikube ]]; then
|
| 6 |
+
echo "Missing Minikube at /opt/minikube-1.32.0/bin/minikube. Ask an admin to run scripts/install_software.sh on the target VM." >&2
|
| 7 |
+
exit 1
|
| 8 |
+
fi
|
| 9 |
+
mkdir -p "$MINIKUBE_HOME" "$(dirname "$KUBECONFIG")"
|
| 10 |
+
exec /opt/minikube-1.32.0/bin/minikube "$@"
|
tasks/computing_math/k8s_migration_1/base/software/terraform
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
if [[ ! -x /opt/terraform-1.7.0/bin/terraform ]]; then
|
| 4 |
+
echo "Missing Terraform at /opt/terraform-1.7.0/bin/terraform. Ask an admin to run scripts/install_software.sh on the target VM." >&2
|
| 5 |
+
exit 1
|
| 6 |
+
fi
|
| 7 |
+
exec /opt/terraform-1.7.0/bin/terraform "$@"
|
tasks/computing_math/k8s_migration_1/base/software/trivy
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
export TRIVY_CACHE_DIR=/media/user/data/agenthle/software_development/k8s_migration_1/base/eval_data/_runtime_state/trivy-cache
|
| 4 |
+
if [[ ! -x /opt/trivy-0.70.0/bin/trivy ]]; then
|
| 5 |
+
echo "Missing Trivy at /opt/trivy-0.70.0/bin/trivy. Ask an admin to run scripts/install_software.sh on the target VM." >&2
|
| 6 |
+
exit 1
|
| 7 |
+
fi
|
| 8 |
+
mkdir -p "$TRIVY_CACHE_DIR"
|
| 9 |
+
exec /opt/trivy-0.70.0/bin/trivy "$@"
|
tasks/computing_math/k8s_payment_api_root_cause_analysis/base/software/README.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
No special software is required. Use standard text, JSON, and YAML tooling.
|