This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl apply -f backend-deployment-v1.yaml && kubectl get all | |
deployment.apps/fibonacci-backend-deployment created | |
NAME READY STATUS RESTARTS AGE | |
pod/fibonacci-backend-deployment-74597f7484-5jsnj 0/1 ContainerCreating 0 0s | |
pod/fibonacci-backend-deployment-74597f7484-5l7kb 0/1 Pending 0 0s | |
pod/fibonacci-backend-deployment-74597f7484-8w57v 0/1 ContainerCreating 0 0s | |
pod/fibonacci-backend-deployment-74597f7484-m85rw 0/1 ContainerCreating 0 0s | |
pod/fibonacci-backend-deployment-74597f7484-x5xwr 0/1 Pending 0 0s | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: fibonacci-frontend-deployment | |
labels: | |
app: fibonacci | |
tier: frontend | |
annotations: | |
kubernetes.io/change-cause: Fibonacci-frontend-v1 | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: passphrase-secret | |
stringData: | |
passphrase: x0x0x0x0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl rollout history deployment fibonacci-backend-deployment | |
deployment.apps/fibonacci-backend-deployment | |
REVISION CHANGE-CAUSE | |
2 Fibonacci-backend-v2 | |
3 Fibonacci-backend-v1 | |
4 Fibonacci-backend-v3 | |
5 Fibonacci-backend-v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl apply -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer.yaml | |
namespace/portainer created | |
serviceaccount/portainer-sa-clusteradmin created | |
persistentvolumeclaim/portainer created | |
clusterrolebinding.rbac.authorization.k8s.io/portainer created | |
service/portainer created | |
deployment.apps/portainer created |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: fibonacci-backend-deployment | |
labels: | |
app: fibonacci | |
tier: backend | |
annotations: | |
kubernetes.io/change-cause: Fibonacci-backend-v4 | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: log-config-map | |
labels: | |
app: fibonacci | |
data: | |
config : | | |
[log] | |
path = x0x0x0x0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023-02-14 20:38:01.586720 | |
Fibonacci v3.0<br>Hello from <b>fibonacci-backend-deployment-574644c474-nwfmc</b><br>Fibonnacci of 50 is <b>12586269025</b> | |
----------------------------- | |
2023-02-14 20:38:02.263907 | |
Fibonacci v3.0<br>Hello from <b>fibonacci-backend-deployment-574644c474-cs7jm</b><br>Fibonnacci of 50 is <b>12586269025</b> | |
----------------------------- | |
2023-02-14 20:38:02.857712 | |
Fibonacci v3.0<br>Hello from <b>fibonacci-backend-deployment-574644c474-qr64t</b><br>Fibonnacci of 50 is <b>12586269025</b> | |
----------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: fibonacci-backend-deployment | |
labels: | |
app: fibonacci | |
tier: backend | |
annotations: | |
kubernetes.io/change-cause: Fibonacci-backend-v3 | |
spec: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: fibonacci-backend-pv | |
labels: | |
type: local | |
spec: | |
storageClassName: manual | |
capacity: | |
storage: 1Gi |
NewerOlder