Skip to content

Instantly share code, notes, and snippets.

View lucas-silveira's full-sized avatar
🏠
Working from home

Lucas Silveira lucas-silveira

🏠
Working from home
View GitHub Profile
server {
server_name testdeploy.rocketseat.com.br;
location / {
proxy_pass http://127.0.0.1:3333;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
# Deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: your-deployment
namespace: your-namespace
labels:
app: your-application
spec:
replicas: ${REPLICAS_COUNT}