examples: comment improvement in remote_cluster.py and deployment_create.py
This commit is contained in:
parent
b839eee939
commit
67f9c7a970
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user