Skip to content

Commit 7bc9f78

Browse files
jonasdlindnerPriyankasaggu11929
authored andcommitted
examples: comment improvement in remote_cluster.py and deployment_create.py
1 parent 36d2108 commit 7bc9f78

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

examples/deployment_create.py

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
"""
16+
Creates a deployment using AppsV1Api from file nginx-deployment.yaml.
17+
"""
18+
1519
from os import path
1620

1721
import yaml

examples/remote_cluster.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
# This example demonstrate communication with a remote Kube cluster from a
16-
# server outside of the cluster without kube client installed on it.
17-
# The communication is secured with the use of Bearer token.
15+
"""
16+
This example demonstrates the communication between a remote cluster and a
17+
server outside the cluster without kube client installed on it.
18+
The communication is secured with the use of Bearer token.
19+
"""
1820

1921
from kubernetes import client, config
2022

0 commit comments

Comments
 (0)