Difference between revisions of "GRPC Remote Procedure Call (gRPC)"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
gRPC uses [[Protocol Buffers]] to [[encode]] data.
 
gRPC uses [[Protocol Buffers]] to [[encode]] data.
 +
 +
{{gRPC liveness probe example}}
  
 
== Related terms ==
 
== Related terms ==
Line 8: Line 10:
 
* [[Websockets]] (2011)
 
* [[Websockets]] (2011)
 
* <code>[[aws_lb_target_group]]</code>
 
* <code>[[aws_lb_target_group]]</code>
* Not supported in [[Amazon CloudFront distribution]] but supported in
+
* Not supported in [[Amazon CloudFront distribution]] but supported in [[AWS Global Accelerator]]
  
 
== See also ==
 
== See also ==

Latest revision as of 09:50, 1 May 2024

Wikipedia: gRPC (2015) (Google)

gRPC uses Protocol Buffers to encode data.

apiVersion: v1
kind: Pod
metadata:
  name: etcd-with-grpc
spec:
  containers:
  - name: etcd
    image: registry.k8s.io/etcd:3.5.1-0
    command: [ "/usr/local/bin/etcd", "--data-dir",  "/var/lib/etcd", "--listen-client-urls", "http://0.0.0.0:2379", "--advertise-client-urls", "http://127.0.0.1:2379", "--log-level", "debug"]
    ports:
    - containerPort: 2379
    livenessProbe:
      grpc:
        port: 2379
      initialDelaySeconds: 10

Related terms[edit]

See also[edit]

Advertising: