Cluster operators running Envoy Gateway with:
- NodePort exposure (no LB)
| package main | |
| import "fmt" | |
| type Node struct { | |
| ipAddress string | |
| ports int | |
| name string | |
| next *Node | |
| } |
| package main | |
| import "fmt" | |
| type Node struct { | |
| ipAddress string | |
| ports int | |
| name string | |
| next *Node | |
| } |
| package main | |
| import "fmt" | |
| type Node struct { | |
| ipAddress string | |
| ports int | |
| name string | |
| next *Node | |
| } |
| package main | |
| import "fmt" | |
| type Node struct { | |
| ipAddress string | |
| ports int | |
| name string | |
| next *Node | |
| } |
| 1) CREATE: SERVICE EXAMPLE | |
| =================================== | |
| ng g s roles/services/roles --skipTests -d | |
| 2) INTERFACE EXAMPLE: | |
| ====================== | |
| ng g i roles/models/role model --skipTests -d | |
| 3) COMPONENT EXAMPLE |
| # maximum capability of system | |
| user@ubuntu:~$ cat /proc/sys/fs/file-max | |
| 708444 | |
| # available limit | |
| user@ubuntu:~$ ulimit -n | |
| 1024 | |
| # To increase the available limit to say 200000 | |
| user@ubuntu:~$ sudo vim /etc/sysctl.conf |
| ./configure --prefix=/etc/nginx \ | |
| --sbin-path=/usr/sbin/nginx \ | |
| --modules-path=/usr/lib/nginx/modules \ | |
| --conf-path=/etc/nginx/nginx.conf \ | |
| --conf-path=/etc/nginx/nginx.conf \ | |
| --error-log-path=/var/log/nginx/error.log \ | |
| --pid-path=/var/run/nginx.pid \ | |
| --lock-path=/var/run/nginx.lock \ | |
| --user=nginx --group=nginx \ |
| import java.util.Random; | |
| /** | |
| * | |
| * @author Vijini | |
| */ | |
| //Main class | |
| public class SimpleDemoGA { |