Skip to content

EnKaspransky/architecture-sprint-3

 
 

Repository files navigation

Базовая настройка

Запуск minikube

Инструкция по установке

minikube start

Добавление токена авторизации GitHub

Получение токена

kubectl create secret docker-registry ghcr --docker-server=https://ghcr.io --docker-username=<github_username> --docker-password=<github_token> -n default

Установка API GW kusk

Install Kusk CLI

kusk cluster install

Настройка terraform

Установите Terraform

Создайте файл ~/.terraformrc

provider_installation {
  network_mirror {
    url = "https://terraform-mirror.yandexcloud.net/"
    include = ["registry.terraform.io/*/*"]
  }
  direct {
    exclude = ["registry.terraform.io/*/*"]
  }
}

Применяем terraform конфигурацию

cd terraform
terraform apply

Настройка API GW

kusk deploy -i api.yaml

Проверяем работоспособность

kubectl port-forward svc/kusk-gateway-envoy-fleet -n kusk-system 8080:80
curl localhost:8080/hello

Delete minikube

minikube delete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 79.5%
  • Smarty 9.9%
  • HCL 7.7%
  • Dockerfile 2.9%