cloud-sdk | The SAP Cloud SDK documentation and support repository | SDK library
kandi X-RAY | cloud-sdk Summary
kandi X-RAY | cloud-sdk Summary
For the Support on SAP Cloud SDK for JavaScript us this repository.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cloud-sdk
cloud-sdk Key Features
cloud-sdk Examples and Code Snippets
Community Discussions
Trending Discussions on cloud-sdk
QUESTION
I have my python3.7 installed on following path on my windows - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.7
I am trying to connect GCP GKE cluster using GitBash and when i run below gcloud command to connect GKE cluster i am getting an python not found error.
$ gcloud container clusters get-credentials appcluster --region us-east4 --project dev /c/Users/surendar/AppData/Local/Google/Cloud SDK/google-cloud-sdk/bin/gcloud: line 181: exec: python: not found
Any suggestion's please to resolve the error?
Below is the Google/Cloud SDK/google-cloud-sdk/bin/gcloud file
181 line points to below declaration which is last line of the file
exec "$CLOUDSDK_PYTHON" $CLOUDSDK_PYTHON_ARGS "${CLOUDSDK_ROOT_DIR}/lib/gcloud.py
...ANSWER
Answered 2021-Jun-09 at 08:09You will need to point the environment variable CLOUDSDK_PYTHON
at your Python executable (e.g. python.exe). To find the Python executable, you should be able to right-click on "Python 3.7" in the start menu and look at "Target".
In my case, the Python executable is located at C:\Users\g_r_s\AppData\Local\Programs\Python\Python37\python.exe
Using Git Bash, you can export CLOUDSDK_PYTHON
QUESTION
I am looking to use the google_os_config_guest_policies resource and am having issues with being able to pass in values to the nested block of code for package_repositories
.
Child module main.tf
...ANSWER
Answered 2021-Jun-08 at 15:02I tried running it, I got the desired output
QUESTION
Has anyone figured out how to pull from private GCR repos in the containrrr watchtower image in docker compose?
For context, I ran gcloud auth configure-docker
in the host, and added these volumes to watchtower:
ANSWER
Answered 2021-Jun-04 at 15:20I'm unfamiliar with Watchtower but familiar with GCR.
If you want to authenticate to GCR and then interact with it solely through clients of the Docker Registry API (i.e. docker [push|pull]
etc.), then you may want to consider creating a suitably IAM'd Service Account, a key and mounting the key via a volume mount into Watchtower. Then, you will be able to authenticate using docker login ...
and avoid needing to install|use the Google Cloud SDK (gcloud
).
See: https://cloud.google.com/container-registry/docs/advanced-authentication#json-key
QUESTION
which conda
or which -a conda
prints out the content of conda.sh
, a script which chooses the conda executable and runs it, as (1) below.
I expect which
to print the path of conda. That may or may not be this conda.sh
, but in any case I don't expect to see the script's contents.
Simply running conda
correctly prints out conda's help text, as (2) below.
The PATH
correctly includes conda's directory at the beginning, as (3).
This is zsh on Mac.
(1)
...ANSWER
Answered 2021-Jun-03 at 12:14Use the -p
flag:
QUESTION
This might be a duplicate but none of the previous answers match my conditions.
I installed gsutil as part of the google-cloud-sdk following https://cloud.google.com/sdk/docs/install. I could configure gcloud properly without errors.
Every time I try to use gsutil, like for example with gsutil -D ls
, I get
ANSWER
Answered 2021-May-31 at 20:27After giving up on this I decided to reinstall one last time the whole google-cloud-sdk suite, but this time using the snap version. Installing it via snap solved the issue for me. I think this points to some issue with my environment that was bypassed thanks to the snap containerization.
So no clear answer here, but if anyone is experiencing the same problem giving a chance to snap may solve the issue as it did for me
QUESTION
I would like to automate installation of Google SDK on a Linux VM and I need some expertise from you.
I can run following pipeline (which is a part of a script):
...ANSWER
Answered 2021-May-28 at 09:57In your command
QUESTION
I have a Google Cloud compute instance running with Ubuntu 18. We had wireshark running tracking another problem and we noticed that every minute something is accessing the meta data server. Three requests every minute: GET /computeMetadata/v1/instance/virtual-clock/drift-token?alt=json&last_etag=XXXXXXXXXXXXXXXX&recursive=False&timeout_sec=60&wait_for_change=True GET /computeMetadata/v1/instance/network-interfaces/?alt=json&last_etag=XXXXXXXXXXXXXXXX&recursive=True&timeout_sec=60&wait_for_change=True GET /computeMetadata/v1/?alt=json&last_etag=XXXXXXXXXXXXXXXX&recursive=True&timeout_sec=77&wait_for_change=True
In call cases, the wireshark says the source is the IP of my instance, and the destination is the 169.254.169.254 which is the Google metadata server.
I don't have any code we have written that is accessing the server. The first one makes me think that this is some Google specific software that is accessing the meta data? But I haven't been able to prove that. What is worrisome is that the response for the third one contains ssh keys. Also, every minute seem excessive.
I see another post talking about scripts in /usr/share/google, but I don't have that directory. I do see that google-fluent is installed. I also see a installed snap for google-cloud-sdk. Could one of those be it? I don't recall installing them, AFAIK, I am not using it, so if that is it, what is the harm in uninstalling it?
...ANSWER
Answered 2021-May-26 at 22:48You do not have a problem to worry about. The metadata server is private to your instance. The Google VM guest environment software and Stackdriver (fluentd) are making requests to the metadata server to get credentials, detect changes (new SSH keys), set the clock, etc.
The IP address 169.254.169.254
is an IPv4 Link Local Address. Only your VM has a route to that network.
Compute Engine Guest Environment
Do not attempt to uninstall the Guest Environment. You can remove Stackdriver, but I do not recommend that. Stackdriver provides logging and monitoring features that are very useful.
QUESTION
I'm having an issue building a docker image from a dockerfile that used to work:
(My dockerfile has more steps, but this is enough to reproduce)
...ANSWER
Answered 2021-May-20 at 14:13This is a known issue. Read this for more info.
You can first add the correct repository GPG key using the following command.
QUESTION
While transferring file(s) from a Linux system to Google Cloud Platform using the gsutil cp
command, it fails at some old ".eml" files when trying to process its content (not just file name!) which contains non-English characters not encoded in Unicode.
The command attempted was:
...ANSWER
Answered 2021-May-20 at 01:12I took your string with Chinese characters and was able to reproduce your error. I fixed it after updating to gsutil 4.62
. Here's the merged PR and issue tracker as reference.
Update Cloud SDK by running:
QUESTION
UPDATE
Here is part of travis file
...ANSWER
Answered 2021-May-19 at 12:15Apparently, this issue is related to the gcloud version I was using.I always fetch the latest version (which is currently 331.0.0). Although it is not desirable, downgrading gcloud SDK to 330.0.0 resolved the issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cloud-sdk
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page