Skip to content

Commit

Permalink
Add displaying of poddisruptionbudgets (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
darend authored Nov 11, 2019
1 parent 9818b64 commit eb27d03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Makefile.codefresh-1.0
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ codefresh\:deploy-kubernetes:
@echo -e "INFO: Deploying $(IMAGE_TAG)"
@$(SELF) kubernetes:deploy KUBERNETES_ANNOTATION="$(RELEASE): $(BUILD) - commit $(COMMIT)"
@sleep 3
@$(SELF) kubernetes:list-deployments kubernetes:list-rs kubernetes:list-pods kubernetes:list-cronjobs
@$(SELF) kubernetes:list-deployments kubernetes:list-rs kubernetes:list-pods kubernetes:list-cronjobs kubernetes:list-pdbs

## Tag image as [branch]-docker-latest and deploy to the cluster
codefresh\:tag-deploy-cluster:
Expand Down
4 changes: 4 additions & 0 deletions modules/Makefile.kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,8 @@ kubernetes\:list-deployments:
@echo -e "INFO: Listing deployments on cluster $(call yellow,$(CLUSTER))..."
@$(KUBECTL_CMD) get deployments -L tag

## List everything that's deployed
kubernetes\:list-pdbs:
@echo -e "INFO: Listing pod disruption budgets on cluster $(call yellow,$(CLUSTER))..."
@$(KUBECTL_CMD) get pdb -L tag

0 comments on commit eb27d03

Please sign in to comment.