curl https://gist.github.com --resolve 'gist.github.com:443:127.0.0.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: store-v1 | |
namespace: store-ns | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: store |
h2 is HTTP/2 over TLS (protocol negotiation via ALPN). h2c is HTTP/2 over TCP.
https://blog.cloudflare.com/tools-for-debugging-testing-and-using-http-2/
Do HTTP2 if possible or downgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
networking.gke.io/load-balancer-type: "Internal" | |
name: echoheaders | |
labels: | |
app: echoheaders | |
spec: | |
type: LoadBalancer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echo-deployment | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: echo-server | |
template: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echoheaders | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: echoheaders | |
template: |
While more and more extensions land in Open VSX on a daily basis, there still might be cases where you are missing a certain extension that exists in the MS marketplace.
On a real vscode instance, right click on an extension and choose Copy Extension ID
Example:
- Cloud Code from Google has the extension id
googlecloudtools.cloudcode
- The publisher is googlecloudtools and the extention is cloudcode.
In Gitpod, download the VSIX file using cURL (adapt the values as needed)