Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust k8s manifets and add Volterra definitions for LB #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion arcadia-unit-kic/2.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- env:
- name: service_name
value: arcadia-unit-main
image: registry.f5-udf.com:5000/arcadia-main:unit
image: docker.io/madhukar32/arcadia-main:unitv2
imagePullPolicy: Always
name: arcadia-unit-main
ports:
Expand Down
2 changes: 1 addition & 1 deletion arcadia-unit-kic/3.backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- env:
- name: service_name
value: backend
image: registry.f5-udf.com:5000/arcadia-backend:unit
image: docker.io/madhukar32/arcadia-backend:unit
imagePullPolicy: Always
name: arcadia-unit-backend
ports:
Expand Down
2 changes: 1 addition & 1 deletion arcadia-unit-kic/4.app2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- env:
- name: service_name
value: arcadia-unit-app2
image: registry.f5-udf.com:5000/arcadia-app2:unit
image: docker.io/madhukar32/arcadia-app2:unit
imagePullPolicy: Always
name: arcadia-unit-app2
ports:
Expand Down
2 changes: 1 addition & 1 deletion arcadia-unit-kic/5.app3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- env:
- name: service_name
value: arcadia-app3
image: registry.f5-udf.com:5000/arcadia-app3:unit
image: docker.io/madhukar32/arcadia-app3:unit
imagePullPolicy: Always
name: arcadia-unit-app3
ports:
Expand Down
4 changes: 4 additions & 0 deletions arcadia-unit-kic/volterra/1.namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
metadata:
name: arcadia-unit
namespace: ""
spec: {}
14 changes: 14 additions & 0 deletions arcadia-unit-kic/volterra/2.vk8s.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
metadata:
name: arcadia-cluster
namespace: arcadia-unit
labels: {}
annotations: {}
description: ""
disable: false
spec:
vsite_refs:
- kind: virtual_site
uid: ""
tenant: acmecorp-adluvegy
namespace: shared
name: corp-branches
25 changes: 25 additions & 0 deletions arcadia-unit-kic/volterra/3.arcadia-main-op.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
metadata:
name: arcadia-main
namespace: arcadia-unit
labels:
ves.io/app: arcadia-unit-main
ves.io/app_type: arcadia-unit
annotations: {}
description: Origin pool for arcadia-main k8s service
disable: false
spec:
origin_servers:
- k8s_service:
service_name: arcadia-unit-main.arcadia-unit
site_locator:
virtual_site:
tenant: acmecorp-adluvegy
namespace: shared
name: all-corp-branches
vk8s_networks: {}
no_tls: {}
port: 80
healthcheck: []
loadbalancer_algorithm: ROUND_ROBIN
endpoint_selection: LOCAL_PREFERRED

25 changes: 25 additions & 0 deletions arcadia-unit-kic/volterra/4.arcadia-app2-op.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
metadata:
name: arcadia-app2
namespace: arcadia-unit
labels:
ves.io/app: arcadia-unit-app2
ves.io/app_type: arcadia-unit
annotations: {}
description: Origin pool for k8s service arcadia-unit-app2
disable: false
spec:
origin_servers:
- k8s_service:
service_name: arcadia-unit-app2.arcadia-unit
site_locator:
virtual_site:
tenant: acmecorp-adluvegy
namespace: shared
name: all-corp-branches
vk8s_networks: {}
no_tls: {}
port: 80
healthcheck: []
loadbalancer_algorithm: ROUND_ROBIN
endpoint_selection: LOCAL_PREFERRED

25 changes: 25 additions & 0 deletions arcadia-unit-kic/volterra/5.arcadia-app3-op.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
metadata:
name: arcadia-app3
namespace: arcadia-unit
labels:
ves.io/app: arcadia-app3
ves.io/app_type: arcadia-unit
annotations: {}
description: Origin pool for k8s service arcadia-app3
disable: false
spec:
origin_servers:
- k8s_service:
service_name: arcadia-app3.arcadia-unit
site_locator:
virtual_site:
tenant: acmecorp-adluvegy
namespace: shared
name: all-corp-branches
vk8s_networks: {}
no_tls: {}
port: 80
healthcheck: []
loadbalancer_algorithm: ROUND_ROBIN
endpoint_selection: LOCAL_PREFERRED

60 changes: 60 additions & 0 deletions arcadia-unit-kic/volterra/6.arcadia-demo-lb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
metadata:
name: arcadia-demo
namespace: arcadia-unit
labels:
ves.io/app_type: arcadia-unit
annotations: {}
description: Arcadia Demo App
disable: false
spec:
domains:
- arcadia-demo.acmecorp.prod.helloclouds.app
https_auto_cert:
http_redirect: true
add_hsts: true
advertise_on_public_default_vip: {}
default_route_pools: []
routes:
- simple_route:
http_method: ANY
path:
prefix: /app3
origin_pools:
- pool:
tenant: acmecorp-adluvegy
namespace: arcadia-unit
name: arcadia-app3
weight: 0
disable_host_rewrite: {}
- simple_route:
http_method: ANY
path:
prefix: /api
origin_pools:
- pool:
tenant: acmecorp-adluvegy
namespace: arcadia-unit
name: arcadia-app2
weight: 0
disable_host_rewrite: {}
- simple_route:
http_method: ANY
path:
prefix: /
origin_pools:
- pool:
tenant: acmecorp-adluvegy
namespace: arcadia-unit
name: arcadia-main
weight: 0
disable_host_rewrite: {}
cors_policy: null
disable_waf: {}
add_location: true
no_challenge: {}
more_option: null
user_identification: null
disable_rate_limit: {}
malicious_user_mitigation: null
waf_exclusion_rules: []