-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K8SPSMDB-1051: Bump PBM version to 2.4.0 #1485
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
e2e-tests/functions
Outdated
@@ -335,6 +335,7 @@ wait_restore() { | |||
| grep -v 'Getting pods from source' \ | |||
| tail -100 | |||
|
|||
kubectl_bin get psmdb-restore restore-${backup_name} -o yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin get psmdb-restore restore-${backup_name} -o yaml | |
kubectl_bin get psmdb-restore restore-${backup_name} -o yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
kubectl_bin get ns | | ||
egrep -v "^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME" | | ||
awk '{print$1}' | | ||
xargs kubectl delete ns & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin get ns | | |
egrep -v "^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME" | | |
awk '{print$1}' | | |
xargs kubectl delete ns & | |
kubectl_bin get ns \ | |
| egrep -v "^kube-|^default|Terminating|psmdb-operator|openshift|gke-mcs|^NAME" \ | |
| awk '{print$1}' \ | |
| xargs kubectl delete ns & |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | ||
grep -v 'level=info' | | ||
grep -v 'level=debug' | | ||
grep -v 'Getting tasks for pod' | | ||
grep -v 'Getting pods from source' | | ||
tail -100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | |
grep -v 'level=info' | | |
grep -v 'level=debug' | | |
grep -v 'Getting tasks for pod' | | |
grep -v 'Getting pods from source' | | |
tail -100 | |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) \ | |
| grep -v 'level=info' \ | |
| grep -v 'level=debug' \ | |
| grep -v 'Getting tasks for pod' \ | |
| grep -v 'Getting pods from source' \ | |
| tail -100 |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | ||
grep -v 'level=info' | | ||
grep -v 'level=debug' | | ||
grep -v 'Getting tasks for pod' | | ||
grep -v 'Getting pods from source' | | ||
tail -100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | |
grep -v 'level=info' | | |
grep -v 'level=debug' | | |
grep -v 'Getting tasks for pod' | | |
grep -v 'Getting pods from source' | | |
tail -100 | |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) \ | |
| grep -v 'level=info' \ | |
| grep -v 'level=debug' \ | |
| grep -v 'Getting tasks for pod' \ | |
| grep -v 'Getting pods from source' \ | |
| tail -100 |
kubectl_bin logs $agent_pod -c backup-agent | | ||
tail -100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin logs $agent_pod -c backup-agent | | |
tail -100 | |
kubectl_bin logs $agent_pod -c backup-agent \ | |
| tail -100 |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | ||
grep -v 'level=info' | | ||
grep -v 'level=debug' | | ||
grep -v 'Getting tasks for pod' | | ||
grep -v 'Getting pods from source' | | ||
tail -100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) | | |
grep -v 'level=info' | | |
grep -v 'level=debug' | | |
grep -v 'Getting tasks for pod' | | |
grep -v 'Getting pods from source' | | |
tail -100 | |
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) \ | |
| grep -v 'level=info' \ | |
| grep -v 'level=debug' \ | |
| grep -v 'Getting tasks for pod' \ | |
| grep -v 'Getting pods from source' \ | |
| tail -100 |
kubectl_bin get service/$service -o json | | ||
jq '.status.loadBalancer.ingress[].hostname' | | ||
sed -e 's/^"//; s/"$//;' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin get service/$service -o json | | |
jq '.status.loadBalancer.ingress[].hostname' | | |
sed -e 's/^"//; s/"$//;' | |
kubectl_bin get service/$service -o json \ | |
| jq '.status.loadBalancer.ingress[].hostname' \ | |
| sed -e 's/^"//; s/"$//;' |
kubectl_bin get service/$service -o json | | ||
jq '.status.loadBalancer.ingress[].ip' | | ||
sed -e 's/^"//; s/"$//;' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
kubectl_bin get service/$service -o json | | |
jq '.status.loadBalancer.ingress[].ip' | | |
sed -e 's/^"//; s/"$//;' | |
kubectl_bin get service/$service -o json \ | |
| jq '.status.loadBalancer.ingress[].ip' \ | |
| sed -e 's/^"//; s/"$//;' |
curl -s -k "https://${user_pass}@$endpoint/graph/api/datasources/proxy/1/api/v1/query_range?query=min%28$metric%7Bnode_name%3D%7E%22$instance%22%7d%20or%20$metric%7Bnode_name%3D%7E%22$instance%22%7D%29&start=$start&end=$end&step=60" | | ||
jq '.data.result[0].values[][1]' | | ||
grep '^"[0-9]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
curl -s -k "https://${user_pass}@$endpoint/graph/api/datasources/proxy/1/api/v1/query_range?query=min%28$metric%7Bnode_name%3D%7E%22$instance%22%7d%20or%20$metric%7Bnode_name%3D%7E%22$instance%22%7D%29&start=$start&end=$end&step=60" | | |
jq '.data.result[0].values[][1]' | | |
grep '^"[0-9]' | |
curl -s -k "https://${user_pass}@$endpoint/graph/api/datasources/proxy/1/api/v1/query_range?query=min%28$metric%7Bnode_name%3D%7E%22$instance%22%7d%20or%20$metric%7Bnode_name%3D%7E%22$instance%22%7D%29&start=$start&end=$end&step=60" \ | |
| jq '.data.result[0].values[][1]' \ | |
| grep '^"[0-9]' |
response=$(curl -s -k -XPOST -d @payload.json "https://${user_pass}@$endpoint/v0/qan/GetReport" | | ||
jq '.rows[].fingerprint') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
response=$(curl -s -k -XPOST -d @payload.json "https://${user_pass}@$endpoint/v0/qan/GetReport" | | |
jq '.rows[].fingerprint') | |
response=$(curl -s -k -XPOST -d @payload.json "https://${user_pass}@$endpoint/v0/qan/GetReport" \ | |
| jq '.rows[].fingerprint') |
cat "$1" | | ||
yq eval '(.spec | select(.image == null)).image = "'"$IMAGE_MONGOD"'"' | | ||
yq eval '(.spec | select(has("pmm"))).pmm.image = "'"$IMAGE_PMM_CLIENT"'"' | | ||
yq eval '(.spec | select(has("initImage"))).initImage = "'"$IMAGE"'"' | | ||
yq eval '(.spec | select(has("backup"))).backup.image = "'"$IMAGE_BACKUP"'"' | | ||
yq eval '.spec.upgradeOptions.apply="Never"' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
cat "$1" | | |
yq eval '(.spec | select(.image == null)).image = "'"$IMAGE_MONGOD"'"' | | |
yq eval '(.spec | select(has("pmm"))).pmm.image = "'"$IMAGE_PMM_CLIENT"'"' | | |
yq eval '(.spec | select(has("initImage"))).initImage = "'"$IMAGE"'"' | | |
yq eval '(.spec | select(has("backup"))).backup.image = "'"$IMAGE_BACKUP"'"' | | |
yq eval '.spec.upgradeOptions.apply="Never"' | |
cat "$1" \ | |
| yq eval '(.spec | select(.image == null)).image = "'"$IMAGE_MONGOD"'"' \ | |
| yq eval '(.spec | select(has("pmm"))).pmm.image = "'"$IMAGE_PMM_CLIENT"'"' \ | |
| yq eval '(.spec | select(has("initImage"))).initImage = "'"$IMAGE"'"' \ | |
| yq eval '(.spec | select(has("backup"))).backup.image = "'"$IMAGE_BACKUP"'"' \ | |
| yq eval '.spec.upgradeOptions.apply="Never"' |
commit: 901b753 |
CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability