Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
voitenkov authored Nov 11, 2023
1 parent 9608ffd commit 6a97212
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,38 @@ kube-system pod/kube-scheduler-kuber1 1/1 Running 0
3. Запустил Reddit в Kubernetes

Приложение успешно запустилось в Yandex Cloud Managed Kubernetes:

```shell
$ k get all -n dev
NAME READY STATUS RESTARTS AGE
pod/comment-858c5c7d76-z82pt 1/1 Running 0 5m43s
pod/mongo-f474f9d56-mm4kg 1/1 Running 0 6m1s
pod/post-67856b8bd6-bw4rc 1/1 Running 0 6m
pod/ui-7d6fbbfc78-4rzcz 1/1 Running 0 5m59s
pod/ui-7d6fbbfc78-cbnv6 1/1 Running 0 5m59s
pod/ui-7d6fbbfc78-n4z6j 1/1 Running 0 5m59s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/comment ClusterIP 10.112.227.255 <none> 9292/TCP 5m43s
service/comment-db ClusterIP 10.112.136.108 <none> 27017/TCP 5m43s
service/mongodb ClusterIP 10.112.143.229 <none> 27017/TCP 6m
service/post ClusterIP 10.112.226.109 <none> 5000/TCP 6m
service/post-db ClusterIP 10.112.216.77 <none> 27017/TCP 6m
service/ui NodePort 10.112.168.1 <none> 80:32092/TCP 5m59s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/comment 1/1 1 1 5m43s
deployment.apps/mongo 1/1 1 1 6m1s
deployment.apps/post 1/1 1 1 6m
deployment.apps/ui 3/3 3 3 5m59s
NAME DESIRED CURRENT READY AGE
replicaset.apps/comment-858c5c7d76 1 1 1 5m43s
replicaset.apps/mongo-f474f9d56 1 1 1 6m1s
replicaset.apps/post-67856b8bd6 1 1 1 6m
replicaset.apps/ui-7d6fbbfc78 3 3 3 5m59s
```

![Reddit in K8s](/images/hw19-reddit.png)

### Задание с ⭐ Разверните Kubernetes-кластер в Yandex cloud с помощью Terraform
Expand Down

0 comments on commit 6a97212

Please sign in to comment.