This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Portefaix on Scaleway

Running Portefaix on Scaleway Kapsule
Infrastructure Portefaix components

1 - Deployment

Instructions for deploying Portefaix on Scaleway Kapsule

1.1 - Install Portefaix

Instructions for deploying Portefaix on Scaleway

Setup

# Scaleway
function setup_scaleway() {
    export SCW_ACCESS_KEY="xxxxx"
    export SCW_SECRET_KEY="xxxx"
    export SCW_DEFAULT_PROJECT_ID="xxxx"
    export SCW_DEFAULT_ORGANIZATION_ID="${SCW_DEFAULT_PROJECT_ID}"
    export AWS_ACCESS_KEY_ID="${SCW_ACCESS_KEY}"
    export AWS_SECRET_ACCESS_KEY="${SCW_SECRET_KEY}"
    export AWS_DEFAULT_REGION="eu-west-3"
    export AWS_REGION="eu-west-3"
}

And load environment :

❯ . ./portefaix.sh scaleway

Storage for Terraform

Create a S3 bucket for Terraform states:

❯ make -f hack/build/scw.mk scw-bucket ENV=sandbox

Terraform

SKS

❯ make terraform-apply SERVICE=iac/scaleway/kapsule ENV=sandbox

Gitops for Kubernetes

Next: Gitops

1.2 - Inspec Portefaix

Instructions for check Portefaix infrastructure on Scaleway

1.3 - Uninstall Portefaix

Instructions for uninstall Portefaix

2 - Authentication and Authorization

Authentication and authorization support for Portefaix in Scaleway

This section shows the how to setup Portefaix with authentication and authorization support in Scaleway

Configure Scaleway

❯ . ./portefaix.sh scaleway
[ Portefaix ]
Setup credentials
Done

Configure kubectl

❯ make kubernetes-credentials CLOUD=scaleway ENV=sandbox
❯ kubectl get nodes

3 - Troubleshooting Deployments on Scaleway Kapsule

Help diagnose and fix issues you may encounter in your Portefaix deployment