Skip to content

Commit

Permalink
kubernetes-2
Browse files Browse the repository at this point in the history
  • Loading branch information
aasdhajkshd committed Nov 15, 2023
1 parent c3a5af8 commit 19992bc
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ ui-57f876ddf5-z2mlm 1/1 Running 0 111s 10.244.0.249 minikub

2. dashboard для kubernetes доступен скачивания на основном сайте [Kubernetes Dashboard](https://github.com/kubernetes/dashboard/tree/master)

в папке kubernetes/infra/dashboard манифесты для создания и скрипт запуска или остановки [dashboard](https://upcloud.com/resources/tutorials/deploy-kubernetes-dashboard) и [Deploying the Dashboard UI](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/)
в папке kubernetes/infra/dashboard манифесты для создания и скрипт запуска или остановки [dashboard](https://upcloud.com/resources/tutorials/deploy-kubernetes-dashboard) и [Deploying the Dashboard UI](https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/), актуальный файл `kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml`

Самой простой способ - это установка из helm'ом [Installing the Chart](https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard)

Expand Down
18 changes: 18 additions & 0 deletions kubernetes/reddit/comment-mongodb-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
apiVersion: v1
kind: Service
metadata:
name: comment-db
labels:
app: reddit
component: mongo
comment-db: "true"
spec:
ports:
- port: 27017
protocol: TCP
targetPort: 27017
selector:
app: reddit
component: mongo
comment-db: "true"
16 changes: 16 additions & 0 deletions kubernetes/reddit/mongodb-service.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
apiVersion: v1
kind: Service
metadata:
name: mongodb
labels:
app: reddit
component: mongo
spec:
ports:
- port: 27017
protocol: TCP
targetPort: 27017
selector:
app: reddit
component: mongo

0 comments on commit 19992bc

Please sign in to comment.