Skip to content

Instantly share code, notes, and snippets.

View Pothulapati's full-sized avatar
🎯
Focusing

Tarun Pothulapati Pothulapati

🎯
Focusing
View GitHub Profile
I20230412 10:10:06.048759 1 init.cc:56] dragonfly running in opt mode.
I20230412 10:10:06.048800 1 dfly_main.cc:476] Starting dragonfly df-v1.1.2-6d269096df37e9f4389d4d2b354113a0c8cbfb74
I20230412 10:10:06.048817 1 dfly_main.cc:499] maxmemory has not been specified. Deciding myself....
I20230412 10:10:06.048858 1 dfly_main.cc:504] Found 22.78GiB available memory. Setting maxmemory to 18.22GiB
I20230412 10:10:06.083297 16 proactor.cc:426] IORing with 1024 entries, allocated 102720 bytes, cq_entries is 2048
I20230412 10:10:06.088044 1 proactor_pool.cc:66] Running 12 io threads
I20230412 10:10:06.130499 1 server_family.cc:419] Data directory is "/data"
I20230412 10:10:06.130863 18 listener_interface.cc:96] sock[39] AcceptServer - listening on port 6379
I20230412 10:10:06.719638 21 fiber_sched_algo.cc:114] Took 100 ms since it woke and till became active 998318128:ioloop
I20230412 10:10:06.719955 21 fiber_sched_algo.cc:114] Took 100 ms since it woke and till became active 29528
I20230405 10:32:29.397550 1 init.cc:56] dragonfly running in opt mode.
I20230405 10:32:29.397585 1 dfly_main.cc:476] Starting dragonfly df-ee7705a-ee7705a84d70d4c9ccbfb1cec93304dfed02663d
I20230405 10:32:29.397603 1 dfly_main.cc:499] maxmemory has not been specified. Deciding myself....
I20230405 10:32:29.397645 1 dfly_main.cc:504] Found 20.25GiB available memory. Setting maxmemory to 16.20GiB
I20230405 10:32:29.419237 18 proactor.cc:426] IORing with 1024 entries, allocated 102720 bytes, cq_entries is 2048
I20230405 10:32:29.443432 1 proactor_pool.cc:66] Running 12 io threads
I20230405 10:32:29.464079 1 server_family.cc:419] Data directory is "/data"
I20230405 10:32:29.467326 17 listener_interface.cc:96] sock[39] AcceptServer - listening on port 6379
I20230405 10:32:30.293589 16 server_family.cc:1771] Replicating 10.244.0.6:6379
I20230405 10:32:30.293697 16 server_family.cc:1800] Acquire replica lock
I20230405 10:32:50.955057 1 init.cc:56] dragonfly running in opt mode.
I20230405 10:32:50.955102 1 dfly_main.cc:476] Starting dragonfly df-ee7705a-ee7705a84d70d4c9ccbfb1cec93304dfed02663d
I20230405 10:32:50.955113 1 dfly_main.cc:499] maxmemory has not been specified. Deciding myself....
I20230405 10:32:50.955168 1 dfly_main.cc:504] Found 20.24GiB available memory. Setting maxmemory to 16.20GiB
I20230405 10:32:50.983232 15 proactor.cc:426] IORing with 1024 entries, allocated 102720 bytes, cq_entries is 2048
I20230405 10:32:51.007540 1 proactor_pool.cc:66] Running 12 io threads
I20230405 10:32:51.022181 1 server_family.cc:419] Data directory is "/data"
I20230405 10:32:51.023097 17 listener_interface.cc:96] sock[39] AcceptServer - listening on port 6379
I20230405 10:32:51.333873 15 server_family.cc:1771] Replicating 10.244.0.6:6379
I20230405 10:32:51.333933 15 server_family.cc:1800] Acquire replica lock
I20230405 08:59:52.990278 1 init.cc:56] dragonfly running in opt mode.
I20230405 08:59:52.990309 1 dfly_main.cc:476] Starting dragonfly df-ee7705a-ee7705a84d70d4c9ccbfb1cec93304dfed02663d
I20230405 08:59:52.990321 1 dfly_main.cc:499] maxmemory has not been specified. Deciding myself....
I20230405 08:59:52.990367 1 dfly_main.cc:504] Found 20.26GiB available memory. Setting maxmemory to 16.21GiB
I20230405 08:59:53.023229 16 proactor.cc:426] IORing with 1024 entries, allocated 102720 bytes, cq_entries is 2048
I20230405 08:59:53.031380 1 proactor_pool.cc:66] Running 12 io threads
I20230405 08:59:53.046941 1 server_family.cc:419] Data directory is "/data"
I20230405 08:59:53.048542 17 listener_interface.cc:96] sock[39] AcceptServer - listening on port 6379
I20230405 08:59:53.584231 15 server_family.cc:1771] Replicating 10.244.0.6:6379
I20230405 08:59:53.584288 15 server_family.cc:1800] Acquire replica lock
diff --git a/entrypoint.sh b/entrypoint.sh
index f08fe36..f943da6 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -7,6 +7,25 @@ if [ -z "$DOMAIN" ]; then
exit 1;
fi
+# M1 and cgroupsv2 stuff
+if ! grep -iq 'cpu.*hz' /proc/cpuinfo; then
# Create a private Key
openssl genrsa -des3 -out myCA.key 2048
# Create a CA cert
openssl req -x509 -new -nodes -key myCA.key -sha256 -days 1825 -out myCA.pem
openssl genrsa -out $DOMAIN.key 2048
openssl req -new -key $DOMAIN.key -out $DOMAIN.csr
cat > $DOMAIN.ext << EOF
{
cd .airflow; make build
}; exit
gitpod /workspace/gitpod-public-sandbox (main) $ {
> cd .airflow; make build
> }; exit
cd aws-mwaa-local-runner && ./mwaa-local-env build-image
docker image save amazon/mwaa-local:2.2 -o /workspace/airflow.tar.gz
Sending build context to Docker daemon 23.76kB
Step 1/28 : FROM amazonlinux
diff --git a/eks-cluster.yaml b/eks-cluster.yaml
index b6ba331..ead1bd2 100644
--- a/eks-cluster.yaml
+++ b/eks-cluster.yaml
@@ -7,9 +7,9 @@ metadata:
# and k8s.io/cluster-autoscaler/<cluster name>: "owned"
# cluster-autoscaler will not be require additional labels in a future release.
# https://github.com/kubernetes/autoscaler/pull/3968
- name: gitpod
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_FACADE_PORT_30000_TCP_ADDR" │
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_FACADE_PORT_30000_TCP_PORT" │
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_FACADE_PORT_30000_TCP_PROTO" │
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_FACADE_SERVICE_HOST" │
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variable REGISTRY_FACADE_SERVICE_PORT" │
│ time="2022-03-02T10:44:30Z" level=warning msg="Ignoring unrecognized environment variab
---
apiVersion: policy.linkerd.io/v1alpha1
kind: Server
metadata:
namespace: emojivoto
name: emoji-grpc
labels:
app.kubernetes.io/part-of: emojivoto
app.kubernetes.io/name: emoji
app.kubernetes.io/version: v11