Skip to content

Commit

Permalink
examples for demo
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Jan 23, 2023
1 parent 231e6e9 commit e4e5b75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/support/observability/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ deploy-podtatohead-failed-pre:
kubectl create namespace "$(PODTATO_NAMESPACE)" --dry-run=client -o yaml | kubectl apply -f -
kubectl annotate namespace "$(PODTATO_NAMESPACE)" keptn.sh/lifecycle-toolkit=enabled --overwrite
kubectl apply -f ./assets/podtatohead-deployment-evaluation/.
kubectl apply -f ./assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition3.yaml
kubectl apply -f ./assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition2.yaml
kubectl apply -f ./assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition4.yaml
kubectl wait --for=condition=available deployment/podtato-head-entry -n podtato-kubectl --timeout=120s
@echo "Watch Workload Deployment Progress: kubectl get keptnworkloadinstances -n podtato-kubectl -w"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ spec:
postDeploymentTasks:
- post-deployment-hello
preDeploymentEvaluations: #Comment out this four lines if you do not have a prometheus installation
- my-prometheus-definition1
- my-prometheus-definition2
postDeploymentEvaluations:
- my-prometheus-definition2
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
initContainers:
- name: init-myservice
image: busybox:1.28
command: ['sh', '-c', 'sleep 30']
command: ['sh', '-c', 'sleep 10']
containers:
- name: server
image: ghcr.io/podtato-head/entry:latest
Expand Down Expand Up @@ -77,7 +77,7 @@ spec:
component: podtato-head-hat
keptn.sh/pre-deployment-tasks: check-entry-service
keptn.sh/pre-deployment-evaluations: my-prometheus-definition1
keptn.sh/post-deployment-evaluations: my-prometheus-definition1
keptn.sh/post-deployment-evaluations: my-prometheus-definition2
annotations:
keptn.sh/app: podtato-head
keptn.sh/workload: podtato-head-hat
Expand Down

0 comments on commit e4e5b75

Please sign in to comment.