8000 Merge pull request #1442 from jonasdlindner/master · HMcomcrazy/python@66a6654 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 66a6654

Browse files
authored
Merge pull request kubernetes-client#1442 from jonasdlindner/master
examples: comment improvement in remote_cluster.py and deployment_cre…
2 parents 36d2108 + 67f9c7a commit 66a6654

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

examples/deployment_create.py

Lines changed: 4 additions & 0 deletions
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

Lines changed: 5 additions & 3 deletions
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)
0