This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Update repo to the latest | |
``` | |
git checkout master | |
git pull --rebase | |
``` | |
2. Use the command line shows in GitHub page to get the local copy of the PR | |
``` | |
git checkout -b yasker-work yasker-work | |
git pull https://github.com/yasker/website.git work | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author: Sheng Yang <sheng@yasker.org> | |
Date: Fri Mar 29 13:42:21 2019 -0700 | |
Debug csi | |
diff --git a/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go b/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go | |
index 4b121d4..055b7c0 100644 | |
--- a/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go | |
+++ b/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go | |
@@ -21,6 +21,7 @@ import ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Volume | PersistentVolume | Provisioner | ||
---|---|---|---|---|---|
AWSEBS | ✓ | ✓ | ✓ | ||
AzureDisk | ✓ | ✓ | ✓ | ||
AzureFile | ✓ | ✓ | ✓ | ||
CephFS | ✓ | ✓ | |||
Cinder | ✓ | ✓ | ✓ | ||
FiberChannel | ✓ | ✓ | |||
Flexvolume | ✓ | ✓ | ✓ | ||
Flocker | ✓ | ✓ | ✓ | ||
GCEPersistentDisk | ✓ | ✓ | ✓ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to clean up completed pods | |
# One line script as: | |
# kubectl ${ns_arg} get pod --field-selector "status.phase=Succeeded" -o=custom-columns=:.metadata.name | sed -n '1!p' |xargs kubectl ${ns_arg} delete pod | |
# | |
# $1 specified namespace | |
set -e | |
ns_arg="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Presence and Garage Door | |
* | |
* Copyright 2016 Yuxuan Wang | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* MyQ Garage Door | |
* | |
* Copyright 2017 Yuxuan Wang | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |