https://github.com/serenasensini/theredcode-react-w-kubernetes
Esempio di app React.js su Kubernetes
https://github.com/serenasensini/theredcode-react-w-kubernetes
kubernetes react reactjs
Last synced: 10 months ago
JSON representation
Esempio di app React.js su Kubernetes
- Host: GitHub
- URL: https://github.com/serenasensini/theredcode-react-w-kubernetes
- Owner: serenasensini
- Created: 2024-01-26T15:55:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T16:00:17.000Z (almost 2 years ago)
- Last Synced: 2025-03-10T18:05:29.106Z (10 months ago)
- Topics: kubernetes, react, reactjs
- Language: JavaScript
- Homepage: https://theredcode.it
- Size: 167 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React on Kubernetes
## Iniziamo!
### Docker
Clona il repo e apri il terminale all'interno della cartella.
Lancia il comando:
`docker build -t my-react .
docker run -p 3000:3000 my-react`
Apri il browser all'indirizzo _http://localhost:3000_, et voilà!
### Kubernetes
Clona il repo e apri il terminale all'interno della cartella.
Lancia il comando:
`kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
`
Apri il browser all'indirizzo _http://localhost:3000_, et voilà!