examples: comment improvement in remote_cluster.py and deployment_create.py

This commit is contained in:
jonasdlindner 2021-04-29 22:17:17 +02:00
parent b839eee939
commit 67f9c7a970
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