Skip to content

Kubernetes Interview Troubleshooting #34

Kubernetes Interview Troubleshooting

Kubernetes Interview Troubleshooting #34

Workflow file for this run

name: 'Kubernetes Interview Troubleshooting'
on:
workflow_dispatch: # Only triggers when manually initiated from the GitHub UI
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client
- name: Configure Kubernetes cluster
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBECONFIG }}" > ~/.kube/config
kubectl get pods -A
- name: Use Kubernetes Troubleshooting Action
uses: becloudready/k8s-interview-action@v29
env:
KUBECONFIG: ${{ secrets.KUBECONFIG }

Check failure on line 28 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Kubernetes Interview Troubleshooting

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 28, Col: 23): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
- name: Apply Deployment and ConfigMap to Kubernetes
run: |
ls
pwd