Skip to content

Commit

Permalink
Merge pull request #51 from ZenHubHQ/enterprise-staging-4.1.2
Browse files Browse the repository at this point in the history
Release Zenhub Enterprise 4.1.2
  • Loading branch information
SeanEmac authored Mar 20, 2024
2 parents 3997297 + c47c27d commit 0db6518
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions k8s-cluster/base/devsite/apps_v1_deployment_devsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
app.kubernetes.io/version: 4.1.1
app.kubernetes.io/version: 4.1.2
generation: 1
labels:
app.kubernetes.io/component: devsite
Expand All @@ -21,7 +21,7 @@ spec:
template:
metadata:
annotations:
app.kubernetes.io/version: 4.1.1
app.kubernetes.io/version: 4.1.2
creationTimestamp: null
labels:
app.kubernetes.io/component: devsite
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
value: verify-full
- name: SERVER_TLS_CA_FILE
value: /var/ca-bundle/postgres/postgres-ca.pem
image: us.gcr.io/zenhub-public/pgbouncer:zhe-4.1.1
image: us.gcr.io/zenhub-public/pgbouncer:zhe-4.1.2
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
16 changes: 8 additions & 8 deletions k8s-cluster/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,32 @@ commonLabels:
app.kubernetes.io/managed-by: kustomize

commonAnnotations:
app.kubernetes.io/version: 4.1.1
app.kubernetes.io/version: 4.1.2

# [EDIT] If your cluster does not have access to our public Docker registry,
# update the `newName` values with paths to your own private Docker registry.
images:
- name: kraken-webapp
newName: us.gcr.io/zenhub-public/kraken-webapp
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: kraken-extension
newName: us.gcr.io/zenhub-public/kraken-extension
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: kraken-zhe-admin
newName: us.gcr.io/zenhub-public/kraken-zhe-admin
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: raptor-backend
newName: us.gcr.io/zenhub-public/raptor-backend
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: toad-backend
newName: us.gcr.io/zenhub-public/toad-backend
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: sanitycheck
newName: us.gcr.io/zenhub-public/sanitycheck
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: devsite
newName: us.gcr.io/zenhub-public/devsite
newTag: zhe-4.1.1
newTag: zhe-4.1.2
- name: busybox
newName: docker.io/library/busybox
newTag: latest
Expand Down
9 changes: 5 additions & 4 deletions k8s-cluster/support-bundle/support_bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ overview_file="$tempdir/cluster_overview.log"
kubectl -n $namespace get all > $info_dir/kubectl_get_all.log
kubectl -n $namespace describe pods > $info_dir/kubectl_describe_pods.log
kubectl -n $namespace describe jobs > $info_dir/kubectl_describe_jobs.log
kubectl -n $namespace describe deployment > $info_dir/kubectl_describe_deployment.log
kubectl -n $namespace describe configmap > $info_dir/kubectl_describe_configmap.log
kubectl -n $namespace describe deployments > $info_dir/kubectl_describe_deployments.log
kubectl -n $namespace describe configmaps > $info_dir/kubectl_describe_configmaps.log
kubectl top pods --all-namespaces > $info_dir/kubectl_top_all_pods.log
kubectl get events --all-namespaces > $info_dir/kubectl_get_all_events.log
kubectl describe node >> $info_dir/kubectl_describe_node.log
kubectl describe nodes >> $info_dir/kubectl_describe_nodes.log

# Gather all logs from the zenhub namespace and store them in a directory
for pod in $(kubectl get pods -o name -n $namespace)
Expand All @@ -80,7 +81,7 @@ echo "### Node Status:" >> $overview_file
kubectl get nodes >> $overview_file

echo "### Node Resources:" >> $overview_file
kubectl top node >> $overview_file
kubectl top nodes >> $overview_file

echo "### Pods Not Running" >> $overview_file
kubectl get pods --all-namespaces --field-selector=status.phase!=Running | grep -v Completed >> $overview_file
Expand Down
2 changes: 1 addition & 1 deletion k8s-cluster/update/batch_v1_job_data_migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ spec:
secretKeyRef:
key: google_oauth2_client_secret
name: raptor
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.1.1
image: us.gcr.io/zenhub-public/raptor-backend:zhe-4.1.2
imagePullPolicy: Always
name: data-migration
resources:
Expand Down
2 changes: 1 addition & 1 deletion virtual-machine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ If you wish to remove your log aggregator setup and revert to our default out-of

1. Undo the changes made in section 6.1.3
- Set fluentdconf to be `fluentd.conf`
- Run `kustomize edit set image fluentd=us.gcr.io/zenhub-public/fluentd:zhe-4.1.1`
- Run `kustomize edit set image fluentd=us.gcr.io/zenhub-public/fluentd:zhe-4.1.2`
2. Perform the steps in section 6.1.4

## 9. Developer Site
Expand Down

0 comments on commit 0db6518

Please sign in to comment.