This is the multi-page printable view of this section. Click here to print.
Portefaix on Digital Ocean
Running Portefaix on Digital Ocean
- 1: Deployment
- 1.1: Install Portefaix
- 1.2: Inspec Portefaix
- 1.3: Uninstall Portefaix
- 2: Authentication and Authorization
- 3: Troubleshooting Deployments on Exoscale SKS
1 - Deployment
Instructions for deploying Portefaix on DigitalOcean Doks
Work In Progress
1.1 - Install Portefaix
Instructions for deploying Portefaix on DigitalOcean
Setup
# Digital Ocean
function setup_digitalocean() {
export DIGITALOCEAN_TOKEN="xxxxxxxxxxxx"
export SPACES_ENDPOINT_URL="fra1.digitaloceanspaces.com"
export SPACES_ACCESS_KEY_ID="xxxxxxxxxx"
export SPACES_SECRET_ACCESS_KEY="xxxxxxxxxxxxxxx"
export AWS_ACCESS_KEY_ID="${SPACES_ACCESS_KEY_ID}"
export AWS_SECRET_ACCESS_KEY="${SPACES_SECRET_ACCESS_KEY}"
export AWS_DEFAULT_REGION="eu-west-3"
export AWS_REGION="eu-west-3"
}
And load environment :
❯ . ./portefaix.sh digitalocean
Storage for Terraform
Create a S3 bucket for Terraform states:
❯ make -f hack/build/digitalocean.mk exo-bucket ENV=dev
Gitops for Kubernetes
Next: Gitops
1.2 - Inspec Portefaix
Instructions for check Portefaix infrastructure on DigitalOcean
Not Available
1.3 - Uninstall Portefaix
Instructions for uninstall Portefaix
2 - Authentication and Authorization
Authentication and authorization support for Portefaix in Digital Ocean
This section shows the how to setup Portefaix with authentication and authorization support in Digital Ocean
Configure Digital Ocean
❯ . ./portefaix.sh digitalocean
[ Portefaix ]
Setup credentials
Done
Configure kubectl
❯ make kubernetes-credentials CLOUD=digitalocean ENV=dev
❯ kubectl get nodes
3 - Troubleshooting Deployments on Exoscale SKS
Help diagnose and fix issues you may encounter in your Portefaix deployment