Skip to content

Instantly share code, notes, and snippets.

View leakingtapan's full-sized avatar
🏠
Working from home

Cheng Pan leakingtapan

🏠
Working from home
  • Seattle
View GitHub Profile
Nov 09 05:22:33 ip-172-20-61-52 kubelet[1579]: I1109 05:22:33.565089 1579 kubelet.go:1883] SyncLoop (ADD, "api"): "app_default(763983fe-e3df-11e8-baec-0a3a1cea024a)"
Nov 09 05:22:33 ip-172-20-61-52 kubelet[1579]: I1109 05:22:33.729498 1579 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "test-pv" (Unique
Name: "kubernetes.io/aws-ebs/vol-0eedee73dff51ca75") pod "app" (UID: "763983fe-e3df-11e8-baec-0a3a1cea024a")
Nov 09 05:22:33 ip-172-20-61-52 kubelet[1579]: I1109 05:22:33.729552 1579 reconciler.go:207] operationExecutor.VerifyControllerAttachedVolume started for volume "default-token-7c
x7h" (UniqueName: "kubernetes.io/secret/763983fe-e3df-11e8-baec-0a3a1cea024a-default-token-7cx7h") pod "app" (UID: "763983fe-e3df-11e8-baec-0a3a1cea024a")
Nov 09 05:22:33 ip-172-20-61-52 kubelet[1579]: E1109 05:22:33.729742 1579 nestedpendingoperations.go:267] Operation for "\"kubernetes.io/aws-ebs/vol-0eedee73dff51ca75\"" failed.
No retries permitted until 2018-11-09 05:22:34
@leakingtapan
leakingtapan / gist:a268ce078a4c82506082b21f49d81d1f
Last active January 22, 2019 21:41
[ebs-csi-e2e] [single-az] Dynamic Provisioning
[BeforeEach] [ebs-csi-e2e] [single-az] Dynamic Provisioning
/home/ubuntu/ebs-csi/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/tests/e2e/dynamic_provisioning.go:40
[It] should create multiple PV objects, bind to PVCs and attach all to a single pod
/home/ubuntu/ebs-csi/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/tests/e2e/dynamic_provisioning.go:78
STEP: setting up the StorageClass
STEP: creating a StorageClass
STEP: setting up the PVC and PV
STEP: creating a PVC
Jan 20 22:41:55.957: INFO: Waiting up to 5m0s for PersistentVolumeClaims [pvc-gcs9k] to have phase Bound
Jan 20 22:41:56.035: INFO: PersistentVolumeClaim pvc-gcs9k found but phase is Pending instead of Bound.
@leakingtapan
leakingtapan / gist:f2cb5b5de02c3adc37bea4e49908ccdf
Created January 23, 2019 06:13
node-driver-registrar restarts
I0123 06:05:16.016313 1 main.go:108] Version: v1.0.2-rc1-0-g2edd7f10
I0123 06:05:16.016367 1 main.go:115] Attempting to open a gRPC connection with: "/csi/csi.sock"
I0123 06:05:16.016374 1 connection.go:69] Connecting to /csi/csi.sock
I0123 06:05:16.016674 1 connection.go:96] Still trying, connection is CONNECTING
I0123 06:05:16.016999 1 connection.go:93] Connected
I0123 06:05:16.017036 1 main.go:123] Calling CSI driver to discover driver name.
I0123 06:05:16.017071 1 connection.go:137] GRPC call: /csi.v1.Identity/GetPluginInfo
I0123 06:05:16.017194 1 connection.go:138] GRPC request: {}
I0123 06:05:16.019574 1 connection.go:140] GRPC response: {"name":"ebs.csi.aws.com","vendor_version":"0.2.0"}
I0123 06:05:16.020175 1 connection.go:141] GRPC error: <nil>
/// by leakingtapan
///
fn main() {
let ef = egyption_fraction(147, 256);
let exp: Vec<String> = ef.iter().map(|e| format!("1/{}", e)).collect();
println!("{:?}", exp.join(" + "));
}
fn egyption_fraction(n: u64, d: u64) -> Vec<u64> {
if n == 0 || d == 0 {
@leakingtapan
leakingtapan / link.txt
Last active November 10, 2024 06:40
sunday school - 7/21/2024