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

fix: k3s yaml link so tutorial works and updated the image with new yaml url #5

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

waltribeiro
Copy link
Contributor

@waltribeiro waltribeiro commented Aug 28, 2024

In preparation for my KCNA, I ran through Equinix's K3s and K8s tutorials. This React app was a big help, but it kept giving me a 404. So I updated the YAML and image.

Steps to Reproduce

  1. Launch server with this user data:
#cloud-config

runcmd:
  - curl -sfL https://get.k3s.io | sh -
  - sleep 20
  - kubectl apply -f https://raw.githubusercontent.com/stevemar/react-wordle/main/reactle-kube-deploy.yaml
  1. Received an error

  2. Replace with this user data:

#cloud-config

runcmd:
  - curl -sfL https://get.k3s.io | sh -
  - sleep 20
  - kubectl apply -f https://raw.githubusercontent.com/stevemar/metal-code-snippets/main/yaml/reactle.yaml
  1. Received working

  2. Go to http://<localhost>:31000 and confirmed Reactle / Wordle app works.

waltribeiro and others added 2 commits August 28, 2024 01:34
### In preparation for my k3s exam, I ran through Equinix's K3s and K8s tutorials. This React app was a big help, but it kept egiving me a 404.

### Steps to Reproduce
1) Launch server with _user data_:
`https://raw.githubusercontent.com/stevemar/react-wordle/main/reactle-kube-deploy.yaml`

2) Get 404 error. Replace with this _user data_:

 ```https://raw.githubusercontent.com/stevemar/metal-code-snippets/main/yaml/reactle.yaml```

Same localhost Port works.
@stevemar
Copy link
Collaborator

stevemar commented Aug 28, 2024

fixes it not working, so lgtm. but in general, we should move away from the wordle clones to something like wordpress.

@stevemar stevemar merged commit 2c878a1 into equinix-labs:main Aug 28, 2024
@waltribeiro
Copy link
Contributor Author

Should I create a new workshop for Wordpress using https://raw.githubusercontent.com/stevemar/metal-code-snippets/main/yaml/wordpress.yaml and then update the instructions for <ip>:30001 ?

@stevemar
Copy link
Collaborator

@waltribeiro i would update this workshop with that link (provided it works!)

@waltribeiro
Copy link
Contributor Author

OK. Here you go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants