Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions getting-started/golang-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/grpc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grpc-hello
spec:
backend:
serviceName: grpc-hello # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: grpc-hello # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/java-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/nodejs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@
# 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.
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/php-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/python-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions getting-started/ruby-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-echo
spec:
backend:
serviceName: esp-echo # Name of the Service targeted by the Ingress
servicePort: 80 # Should match the port used by the Service
defaultBackend:
service:
name: esp-echo # Name of the Service targeted by the Ingress
port:
number: 80 # Should match the port used by the Service
---
apiVersion: v1
kind: Service
Expand Down
10 changes: 6 additions & 4 deletions gke/grpc-bookstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# and the container for the Extensible Service Proxy (ESP) to
# Google Kubernetes Engine (GKE).

apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: esp-grpc-bookstore
Expand All @@ -28,9 +28,11 @@ spec:
- hosts:
- SERVICE_NAME
secretName: esp-ssl
backend:
serviceName: esp-grpc-bookstore
servicePort: 443
defaultBackend:
service:
name: esp-grpc-bookstore
port:
number: 443
---
apiVersion: cloud.google.com/v1
kind: BackendConfig
Expand Down
8 changes: 5 additions & 3 deletions k8s/esp_echo_gke_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
ports:
- containerPort: 8081
---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: example
Expand All @@ -74,5 +74,7 @@ spec:
# Note that the service will receive the entire URL with the prefix
- path: /*
backend:
serviceName: esp-echo
servicePort: 80
service:
name: esp-echo
port:
number: 80