Skip to content

Commit

Permalink
docs: fix deployment resource type output
Browse files Browse the repository at this point in the history
Since k8s had remove support for extensions/v1beta1 API version after 1.16, we should update the docs to the latest and stable version.

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
  • Loading branch information
cleverhu authored and joestringer committed Nov 22, 2022
1 parent b00806f commit d5ada37
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Documentation/security/cassandra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ above, as well as a Kubernetes Service *cassandra-svc* for the Cassandra cluster
.. parsed-literal::
$ kubectl create -f \ |SCM_WEB|\/examples/kubernetes-cassandra/cass-sw-app.yaml
deployment.extensions/cass-server created
deployment.apps/cass-server created
service/cassandra-svc created
deployment.extensions/empire-hq created
deployment.extensions/empire-outpost created
deployment.apps/empire-hq created
deployment.apps/empire-outpost created
Kubernetes will deploy the pods and service in the background.
Running ``kubectl get svc,pods`` will inform you about the progress of the operation.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/security/gsg_sw_demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ It also includes a deathstar-service, which load-balances traffic to all pods wi
$ kubectl create -f \ |SCM_WEB|\/examples/minikube/http-sw-app.yaml
service/deathstar created
deployment.extensions/deathstar created
deployment.apps/deathstar created
pod/tiefighter created
pod/xwing created
Expand Down
8 changes: 4 additions & 4 deletions Documentation/security/memcached.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ above, as well as a Kubernetes Service *memcached-server* for the Memcached serv
.. parsed-literal::
$ kubectl create -f \ |SCM_WEB|\/examples/kubernetes-memcached/memcd-sw-app.yaml
deployment.extensions/memcached-server created
deployment.apps/memcached-server created
service/memcached-server created
deployment.extensions/a-wing created
deployment.extensions/x-wing created
deployment.extensions/alliance-tracker created
deployment.apps/a-wing created
deployment.apps/x-wing created
deployment.apps/alliance-tracker created
Kubernetes will deploy the pods and service in the background.
Running ``kubectl get svc,pods`` will inform you about the progress of the operation.
Expand Down
4 changes: 2 additions & 2 deletions examples/kubernetes/addons/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ Next, install all monitoring tools and configurations by running:
$ kubectl create -f examples/kubernetes/addons/prometheus/monitoring-example.yaml
namespace/monitoring created
configmap/prometheus created
deployment.extensions/prometheus created
deployment.apps/prometheus created
service/prometheus created
service/prometheus-open created
clusterrolebinding.rbac.authorization.k8s.io/prometheus created
clusterrole.rbac.authorization.k8s.io/prometheus created
serviceaccount/prometheus-k8s created
configmap/grafana-config created
deployment.extensions/grafana created
deployment.apps/grafana created
service/grafana created
configmap/grafana-dashboards created
job.batch/grafana-dashboards-import created
Expand Down

0 comments on commit d5ada37

Please sign in to comment.