Skip to content

Commit 7fa5436

Browse files
Fixed issue collabnix#112
1 parent 736f14e commit 7fa5436

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

201/monitoring/prometheus.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We should create a config map with all the prometheus scrape config and alerting
4848
1. Create a file named prometheus-deployment.yaml and copy the following contents onto the file. In this configuration, we are mounting the Prometheus config map as a file inside /etc/prometheus. It uses the official Prometheus image from docker hub.
4949

5050
```
51-
apiVersion: extensions/v1beta1
51+
apiVersion: apps/v1
5252
kind: Deployment
5353
metadata:
5454
name: prometheus-deployment

DaemonSet101/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Labels: name=prometheus-exporter
7171
tier=monitoring
7272
Annotations: deprecated.daemonset.template.generation: 1
7373
kubectl.kubernetes.io/last-applied-configuration:
74-
{"apiVersion":"extensions/v1beta1","kind":"DaemonSet","metadata":{"annotations":{},"name":"prometheus-daemonset","namespace":"default"},"s...
74+
{"apiVersion":"apps/v1","kind":"DaemonSet","metadata":{"annotations":{},"name":"prometheus-daemonset","namespace":"default"},"s...
7575
Desired Number of Nodes Scheduled: 1Current Number of Nodes Scheduled: 1
7676
Number of Nodes Scheduled with Up-to-date Pods: 1
7777
Number of Nodes Scheduled with Available Pods: 1

DaemonSet101/daemonset.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: DaemonSet
33
metadata:
44
name: prometheus-daemonset

Deployment101/blue-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: nginx-1.10

Deployment101/green-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: nginx-1.11

Deployment101/nginx-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: nginx-test

replicaset101/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The first part of the command will get all the pod information, which may be too
8181

8282
```
8383
ownerReferences:
84-
- apiVersion: extensions/v1beta1
84+
- apiVersion: apps/v1
8585
blockOwnerDeletion: true
8686
controller: true
8787
kind: ReplicaSet

secerts_configmaps101/secrets-configmaps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ kubectl get secrets,configmaps
7979
Secrets and ConfigMaps can be mounted as volume within a pod. For the nginx pod, we will need to mount the secrets as nginx-certs, and the ConfigMap as a nginx-config. First, thoug, we need to write a Deployment for nginx, so we have something to work with. Create a file named "nginx-ssl-deployment.yaml" with the following:
8080

8181
```
82-
apiVersion: extensions/v1beta1
82+
apiVersion: apps/v1
8383
kind: Deployment
8484
metadata:
8585
name: nginx

0 commit comments

Comments
 (0)