diff options
Diffstat (limited to 'operations/scripts/k8s_get_node_ip.sh')
-rwxr-xr-x | operations/scripts/k8s_get_node_ip.sh | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/operations/scripts/k8s_get_node_ip.sh b/operations/scripts/k8s_get_node_ip.sh index 4f423e8..36e416c 100755 --- a/operations/scripts/k8s_get_node_ip.sh +++ b/operations/scripts/k8s_get_node_ip.sh @@ -1,11 +1,14 @@ #!/bin/bash -# Copyright (C) 2018 by Samsung Electronics Co., Ltd. +# Copyright (C) 2021 by Samsung Electronics Co., Ltd. # -# This software is the confidential and proprietary information of Samsung Electronics co., Ltd. -# ("Confidential Information"). You shall not disclose such Confidential Information and shall use -# it only in accordance with the terms of the license agreement you entered into with Samsung. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License -# -# Echo Kubernetes cluster first node's internal IP address -# kubectl get nodes -o jsonpath='{ $.items[*].status.addresses[?(@.type=="InternalIP")].address }' | cut -d ' ' -f 1 |