Skip to content

DFE-Digital/teacher-services-cloud

Repository files navigation

Teacher Services Cloud

A repo for building Teacher Sevices cloud infrastructure

Directory Layout

- cluster
    - config
        *.sh config files for each cluster environment
    - terraform_aks_cluster
        *.tf files for low level cluster set-up
        - config
            *.tfvars.json config files for each cluster environment
    - terraform_kubernetes
        *.tf files for high-level configuration using the kubernetes and helm providers only
        - config
            *.tfvars.json config files for each cluster environment
- custom_domains
    - config
        *.sh config files for each cluster DNS zone
    - terraform
        - infrastructure
            *.tf files for cluster DNS zone build
            - config
                *.tfvars.json config files for each cluster DNS zone
Makefile

Operation

Prerequisites

Cluster Build

Development environments: cluster1, cluster2...

make development terraform-{plan/apply} ENVIRONMENT=cluster{n}

where n = 1-6

e.g.

make development terraform-plan ENVIRONMENT=cluster1

Permanent environments: platform-test, test, production

make <environment> terraform-{plan/apply} CONFIRM...

e.g.

make test terraform-plan CONFIRM_TEST=yes

kubectl

Login to Azure and configure the credentials using the get-cluster-credentials make command before running kubectl

az login
make platform-test get-cluster-credentials
make development get-cluster-credentials ENVIRONMENT=cluster1
kubectl get pods

Links

External

Internal

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published