Skip to content

Instantly share code, notes, and snippets.

View sayedppqq's full-sized avatar

Abu Sayed sayedppqq

View GitHub Profile
{
"timestamp": 1752139536780,
"formatVersion": 1,
"webaclId": "arn:aws:wafv2:eu-west-1:662744937784:regional/webacl/oa-pl-eui-kpiqa-kpi20-waf/361c221a-3ef1-4578-998d-2aeb68b265da",
"terminatingRuleId": "rule-1-aws-managed-rules-common-rule-sets",
"terminatingRuleType": "MANAGED_RULE_GROUP",
"action": "BLOCK",
"terminatingRuleMatchDetails": [],
"httpSourceName": "ALB",
"httpSourceId": "662744937784-app/oa-pl-eui-kpiqa-kpi20/276c7e1d7f4bd46b",
➤ kubectl logs -f --all-containers -n ace operator-shard-manager-7f6f88cf4b-v8s54
I0324 09:09:23.717760 1 run.go:95] "Initializing certificate watcher using provided certificates" logger="setup" cert-dir="/var/serving-cert" cert-name="tls.crt" cert-key="tls.key"
I0324 09:09:23.717940 1 certwatcher.go:211] "Updated current TLS certificate" logger="controller-runtime.certwatcher"
I0324 09:09:23.718222 1 envvar.go:172] "Feature gate default state" feature="ClientsAllowCBOR" enabled=false
I0324 09:09:23.718231 1 envvar.go:172] "Feature gate default state" feature="ClientsPreferCBOR" enabled=false
I0324 09:09:23.718233 1 envvar.go:172] "Feature gate default state" feature="InformerResourceVersion" enabled=false
I0324 09:09:23.718236 1 envvar.go:172] "Feature gate default state" feature="WatchListClient" enabled=false
I0324 09:09:23.719769 1 run.go:181] "Adding certificate watcher to manager" logger="setup"
I0324 09:09:23.719786 1 run.go:197] "starting manager" logger
waiting for the role to be decided ...
running the initial script ...
Running as Primary
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss_wrapper.so
/usr/lib/postgresql/16/lib/x86_64-linux-gnu/libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss_wrapper.so
/usr/lib/postgresql/16/lib/x86_64-linux-gnu/libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss_wrapper.so
/usr/lib/postgresql/16/lib/x86_64-linux-gnu/libnss_wrapper.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss_wrapper.so
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: sts1
namespace: demo
spec:
serviceName: "oracle-repl"
replicas: 1
selector:
matchLabels:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: sts1
namespace: demo
spec:
serviceName: "oracle-repl"
# podManagementPolicy: Parallel
replicas: 1
selector:
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTXpBME5ERTVOekV3SGhjTk1qUXhNVEF4TURZeE9UTXhXaGNOTXpReE1ETXdNRFl4T1RNeApXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTXpBME5ERTVOekV3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFSeVlETkJXMzlJR3NXODEyMll0V3FiOXJDdjl6UzNncXRrMnB1STRSMzcKV3NURU5vN0M5UkxaOVV6TWlqaG5rbmQvZ3NTN21OMGpndjBycjdndUFPN0VvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVXZKMVdMS0xHQkhvdEV2S0lDejhNCkZtcTUyWGd3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQU81emtKNVV4Wi82YVhsemVuNE5EMFRTVUl2WDg4OXgKM0FlcWg5NkZrMGJ4QWlBUG8xQWhxMUl6NTE1ZHJHM2RnbzlWQm9Zc1BDbWh6bnZrR3pvK244cndDQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
server: https://127.0.0.1:6443
name: default
contexts:
- context:
cluster: default
user: default
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2024-10-25T06:12:44Z"
generateName: kube-state-metrics-bf9d7b57d-
labels:
app.kubernetes.io/instance: kube-state-metrics
app.kubernetes.io/name: kube-state-metrics
pod-template-hash: bf9d7b57d
name: kube-state-metrics-bf9d7b57d-stjsz
sayed@sayed:~
➤ mongosh 'mongodb://v-kubernetes-ace--k8s-fb69a316-99-t1Ux6dD2aPwGeg0jbtSu-1714988023:6BTmzKhkcRPI-w51ENpm@172.232.102.64:30016/admin?authSource=admin'
Current Mongosh Log ID: 6638a88477abdb1a8b2202d7
Connecting to: mongodb://<credentials>@172.232.102.64:30016/admin?authSource=admin&directConnection=true&appName=mongosh+2.2.5
Using MongoDB: 4.4.26
Using Mongosh: 2.2.5
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
admin> show dbs
apiVersion: apps/v1
kind: StatefulSet
metadata:
creationTimestamp: "2024-04-01T08:55:47Z"
generation: 1
labels:
app.kubernetes.io/component: database
app.kubernetes.io/instance: simple
app.kubernetes.io/managed-by: kubedb.com
app.kubernetes.io/name: mongodbs.kubedb.com
# --------------------------- full sync configuration ---------------------------
# the number of collection concurrence
# The maximum number of tables that can be pulled concurrently. For example, 6 means that shake can pull up to 6 tables at the same time.
full_sync.reader.collection_parallel = 15
# the number of document writer thread in each collection.
# The number of concurrent writing threads in the same table. For example, 8 means that for the same table, there will be 8 writing threads for concurrent writing.
full_sync.reader.write_document_parallel = 24
# number of documents in a batch insert in a document concurrence
# The batch size of the destination write, for example, 128 means that one thread will aggregate 128 documents at a time and then write them.
full_sync.reader.document_batch_size = 200