Skip to content

Instantly share code, notes, and snippets.

View deads2k's full-sized avatar

David Eads deads2k

  • Red Hat OpenShift
  • Raleigh, NC
View GitHub Profile
git log --oneline master..openshift/master staging/src/k8s.io/
270de19d62f Merge pull request #1735 from harche/update_fix
a06b69ebc91 UPSTREAM: <carry>: Do not allow nodes to set forbidden openshift labels
57e1d0d2852 UPSTREAM: <drop>: bump(openshift/client-go,library-go,apiserver-library-go)
8739d645c4e UPSTREAM: <carry>: vendor: bump cadvisor and runc to 1.1.9
fababfcda48 UPSTREAM: <drop>: hack/update-vendor.sh (with updated builder image)
1deb51f713e UPSTREAM: <drop>: hack/update-vendor.sh (to get updated openshift/* libs)
dc4b1016980 UPSTREAM: <drop>: hack/update-vendor.sh
requiredConfigMap, err := resourcesynccontroller.CombineCABundleConfigMaps(
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.TargetNamespace, Name: "client-ca"},
lister,
// this is from the installer and contains the value to verify the admin.kubeconfig user
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.GlobalUserSpecifiedConfigNamespace, Name: "admin-kubeconfig-client-ca"},
// this is from the installer and contains the value to verify the kube-apiserver communicating to the kubelet
resourcesynccontroller.ResourceLocation{Namespace: operatorclient.OperatorNamespace, Name: "CustomerAdminKubeconfigSigner-ca"},
)
fail [github.com/openshift/origin/test/extended/operators/certs.go:117]:
######
new TLS artifacts like certificates and ca bundles must be registered
--namespace=openshift-apiserver secret/etcd-client
--namespace=openshift-apiserver secret/serving-cert
--namespace=openshift-apiserver-operator secret/openshift-apiserver-operator-serving-cert
--namespace=openshift-authentication secret/v4-0-config-system-serving-cert
--namespace=openshift-authentication-operator secret/serving-cert
--namespace=openshift-cloud-credential-operator secret/cloud-credential-operator-serving-cert
--namespace=openshift-cloud-credential-operator secret/pod-identity-webhook
@deads2k
deads2k / oauth-apiserver wrong ns failure .json
Created August 17, 2023 13:54
termination grace message analysis
{
"eventTime": null,
"firstTimestamp": null,
"involvedObject": {
"apiVersion": "v1",
"kind": "Namespace",
"name": "kube-system",
"namespace": "default"
},
"lastTimestamp": null,
grep "started responding to GET requests" '/home/deads/Downloads/pr-01/e2e-events_20230725-163033.json' | grep -v protocol | grep -v reason/DisruptionEnded | sort
client sends this
backoffLimit: nil
client gets back this
backoffLimit: 6
backoffLimit: xxx
runPolicy:
perIndex: true/false
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
owner: abu
spec:
selector:
matchLabels:
owner: abu
@deads2k
deads2k / 1.24
Created November 1, 2022 14:41
slowness output
1.24
[deads@fedora origin]$ make && openshift-tests run-test --v=6 "[sig-node] Managed cluster record the number of nodes at the beginning of the tests [Early] [Suite:openshift/conformance/parallel]"
go build -mod=vendor -trimpath -ldflags "-X github.com/openshift/origin/pkg/version.versionFromGit="v4.1.0-5899-g911f532" -X github.com/openshift/origin/pkg/version.commitFromGit="911f53225a" -X github.com/openshift/origin/pkg/version.gitTreeState="clean" -X github.com/openshift/origin/pkg/version.buildDate="2022-10-31T17:03:03Z" " github.com/openshift/origin/cmd/openshift-tests
Oct 31 13:03:23.519: INFO: TEST TIMING: " " -- for step (NewCLIWithoutNamespaceWithContext) -- 13.774µs
Oct 31 13:03:23.520: INFO: TEST TIMING: " " -- for step (NewCLIWithoutNamespaceWithContext) -- 5.958µs
Oct 31 13:03:23.520: INFO: TEST TIMING: " " -- for step (NewCLIWithoutNamespaceWithContext) -- 4.956µs
Oct 31 13:03:23.520: INFO: TEST TIMING: " " -- for step (NewCLIWithoutNamespaceWithContext) -- 6.937µs
Oct 31 13:03:23.520: INFO:
[deads@fedora etcd]$ git log --reverse --oneline v3.5.0..HEAD
a2c8c7b52 *: backport OWNERS and update to reflect Red Hat perms.
cff5d5eef version: openshift-v4.0
efe16fe0e Dockerfile: add etcdctl
a7e0b561d Dockerfile.*: Fix "etcd is distributed" -> "etcd is a distributed"
210137ce5 Dockerfile: resolve issue where binary was not properly copied from build.
cae57ed87 Dockerfile: set coreos org as canonical for release-3.3
5c8df9084 Dockerfile: bump golang to 1.11
6423dda5a Dockerfile: use build instead of make build
e047bc9f5 Dockerfile: bump golang 1.12
diff --git a/.ci-operator.yaml b/.ci-operator.yaml
new file mode 100644
index 000000000..9271a8208
--- /dev/null
+++ b/.ci-operator.yaml
@@ -0,0 +1,4 @@
+build_root_image:
+ name: release
+ namespace: openshift
+ tag: rhel-8-release-golang-1.16-openshift-4.10