$ doctl kubernetes cluster kubeconfig save ticketing
$ kubectl config view
// local
$ kubectl config use-context my-profile
// digital ocean
$ kubectl config use-context <do_context>
Github --> Settings --> Secretes --> Add
First secret:
Name: DOCKER_USERNAME
Second secret:
Name: DOCKER_PASSWORD
DO -> API -> Generate Token
Name: Github-Acceess_Token
Github --> Settings --> Secretes --> Add
Third secret:
Name: DIGITAL_OCEAN_ACCESS_TOKEN
$ kubectl create secret generic jwt-secret --from-literal=JWT_KEY=<any_random_string>
$ kubectl create secret generic stripe-secret --from-literal=STRIPE_KEY=<stripe_secret_key>
https://kubernetes.github.io/ingress-nginx/deploy/#digital-ocean
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-0.32.0/deploy/static/provider/do/deploy.yaml
Digital Ocean --> Networking --> create --> Load Balancer
Digital Ocean --> Networking --> Add a domain
Marley
Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат