cloud.google.com adresine git. Get started for free butonuna tıkla. Adres, telefon ve ödeme bilgilerini girerek anasayfaya git.
- Yeni bir proje oluştur.
- Kubernetes Engine’e git ve Enable butonuna tıkla.
- Kubernetes concole içinde activate cloud shell’e tıkla.
- gcloud auth login komutunu çalıştır.
- gcloud config set compute/zone europe-west8-a
- gcloud container clusters create <projeAdi-cluster>
- Sayfayı yenile. Gelen listede sağ tıkla connect de. Run in cloud shell’e tıkla.
- Arama alanında Artifact Registry yaz ve enable de.
- Artifact Registry alanında create repository diyerek yeni bir repository oluştur. Repository adı, bölge seçimi yap.
- Cloud google install the gcloud gli sayfasına git. İşletim sistemine uygun cli kurulumunu yap.
- Sıkıştırılmış dosyayı aç. “./google-cloud-sdk/install.sh” komutunu çalıştır.
- ./google-cloud-sdk/bin/gcloud init komutunu çalıştır.
- Terminali kapatıp yeniden aç. gcloud auth login komutunu çalıştır. Docker image’leri yükleme işlemi öncesi.
- docker images | grep “your-image-name-package” komutunu çalıştır.
- gcloud auth configure-docker europe-west4-docker.pkg.dev komutunu çalıştır.
- Aktif configuration adını öğrenmek için google cloud repository shell içinde gcloud config get project komutunu çalıştır.
- docker tag “imageAdı”:1.0-SNAPSHOT europe-west4-docker.pkg.dev/”configuration-adı”/”cloud-repository-adı”/”imageadıSadeceServiceKısmı”:1.0-SNAPSHOT (Herbir servis için bu komutu çalıştır)
- docker images | grep “your-image-name-package” komutunu tekrar çalıştır.
- docker push “imageNameWithEurope-west”:1.0-SNAPSHOT (Herbir servis için bu komutu çalıştır)
- git clone https://github.com/confluentinc/cp-helm-charts.git (google cloud console)
- helm version
- helm install gke-confluent-kafka cp-helm-charts/ –version 0.6.0