Merge pull request #1442 from jonasdlindner/master

examples: comment improvement in remote_cluster.py and deployment_cre…
This commit is contained in:
Kubernetes Prow Robot 2021-04-30 10:07:58 -07:00 committed by GitHub
commit 66a66543f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

@ -12,6 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""
Creates a deployment using AppsV1Api from file nginx-deployment.yaml.
"""
from os import path
import yaml

View File

@ -12,9 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# This example demonstrate communication with a remote Kube cluster from a
# server outside of the cluster without kube client installed on it.
# The communication is secured with the use of Bearer token.
"""
This example demonstrates the communication between a remote cluster and a
server outside the cluster without kube client installed on it.
The communication is secured with the use of Bearer token.
"""
from kubernetes import client, config