Commit Graph

271 Commits

Author SHA1 Message Date
Roman Dobosz d95893b503 Installation docs update.
Change-Id: I1504c1037c17e1a8cd68989567533d69e9b4eb8d
Closes-Bug: #2029122
2023-08-03 12:27:35 +02:00
Michał Dulko 04d4439606 Remove SR-IOV support
This got decided at the PTG. The code is old, not maintained, not tested
and most likely doesn't work anymore. Moreover it gave us a hard
dependency on grpcio and protobuf, which is fairly problematic in Python
and gave us all sorts of headaches.

Change-Id: I0c8c91cdd3e1284e7a3c1e9fe04b4c0fbbde7e45
2022-06-29 12:49:37 +02:00
Roman Dobosz a38d764ffc Get rid of obsolete KuryrNetPolicy CRD.
There are some of the mentions of KuryrNetPolicy around our code. In
this patch we are removing it (with one exception - the spec for
originally designed CRD for network policy handling), just to avoid
confusion with currently used KuryrNetworkPolicy.

Change-Id: Ie9bb46467a249e1c0ada3a9810c4fff59fd57757
2022-06-10 15:46:31 +02:00
Roman Dobosz 846f158724 Removed all occurrences of removed KuryrNet CRD.
CRD KuryrNet was already replaced by KuryrNetwork, although there are
some spots, where it is mentioned - mostly docs and log messages. In
this commit we get rid of it once and for all.

Change-Id: I20345a1f4d4288534d620f0bd2196fc77ee795e9
2022-06-01 13:10:48 +02:00
Zuul 164530c914 Merge "Add annotation project driver spec" 2022-05-12 17:40:54 +00:00
yangjianfeng 3df0aff36c Add annotation project driver spec
Implements: blueprint specify-project-by-annotation
Change-Id: Id3ddf933bd941619ca41f0bf8cc48984cf142603
2022-05-04 11:50:01 +08:00
yangjianfeng 90088f3b0d Support specify project id by annotation
The implementation have some difference with the description of
blueprint. For more strict isolation, we only get project id from
namespace annotaion or configure option. The other resources's
project id inherit it's project or get from configiure option.

Implements: blueprint specify-project-by-annotation
Change-Id: Ia82cce6b211226599b4e1ca0d10416ed5e519ea2
2022-04-29 15:22:50 +08:00
yangjianfeng 8655bb49c8 [devstack] Support config image repository for kubeadm
In some places of which network environment was limited, kubeadm
can't pull images from k8s.gcr.io. This patch add a variable
`KURYR_KUBEADMIN_IMAGE_REPOSITORY` in order to the developer who
located in these places can set the kubeadm to pull container images
from repository that they can access.

Change-Id: Id966747d8c09ea14bb37880f8fb37447591564b5
2022-03-06 17:02:44 +08:00
Maysa Macedo 6199ad5739 Fix prepoulation of ports pool definition
As part of the work to reduce OpenStack resource usage
the Namespace is only now handled when a Pod on Pods
Network is created in it. This new behavior also affects when
the ports pool prepopulation happens requiring update to
the docs.

Change-Id: Iac9d366b14e9e69d1a98da112ee53f97026c2f9d
2022-02-17 12:03:11 +00:00
Maysa Macedo e2bfcaca2b Add lock to pools poulation
We have seen issues that the Neutron Server was not
able to respond in time during the creation of Ports
in bulk. In order to avoid this type of failures and
improve time taken for Pods to be created, this commit
includes a lock that will only allow one population to
happen at time for a specific pool, instead of controling
all the pools population with the frequency setting.

Change-Id: I76f5d08e744b7bbc64093ab1a54084a1f97d4aa7
2021-12-15 15:08:48 +01:00
Zuul fd8e21ce76 Merge "Add the Service Creation Flow Diagram" 2021-08-01 12:22:22 +00:00
Sunday Mgbogu 9afa2ed370 Add the Service Creation Flow Diagram
Change-Id: Idc4b724c6fbfe3eba660da521eea761667d04ac1
2021-07-30 08:44:48 +00:00
Roman Dobosz bd8469b40b Change documentation for devstack deployment.
Reflect reality to the docs regarding devstack deployment.
Also, there were changes to refresh docs for vagrant, updated
Vagrantfile, and removed outdated Opendaylight docs.

Change-Id: Ic038967547ebf748c5b41ad598e8553c4a6bebad
2021-07-20 11:00:40 +02:00
Roman Dobosz b418608f9a Minor formatting corrections.
Change-Id: Ie279c998be5ad6ab31790f2dd9fc111dc3f8ca85
2021-06-24 12:16:56 +02:00
Sunday Mgbogu 1b6eb50d83 Update the Service Creation Process
Change-Id: I743e4ef717f5e06932da103c02ef6f07e48fb584
2021-06-23 23:29:43 +01:00
Zuul 5d2ac1c691 Merge "Update the Handlers and the Resources" 2021-06-22 07:20:14 +00:00
Sunday Mgbogu 032d0736f8 Update the Handlers and the Resources
Change-Id: I4cc3c19a76acaaf2e1a2255d3e344aa61d5da2ca
2021-06-21 10:16:25 +01:00
Sunday Mgbogu 9d0d27f6e2 Add the regenerate option in building kuryr-controller image
Change-Id: I94a3372c5a18442b1063444c2cf4276be5ccca11
2021-06-18 10:24:27 +00:00
Maysa Macedo 024f38d498 Update DOCs to use OFTC instead of Freenode for IRC
Change-Id: I5dfcc0786d8cc296f792b268fe3dcd5d73b3341c
2021-06-01 11:58:46 +02:00
Maysa Macedo abcbb703e5 Enable kuryrnetwork handler when using Network Policies
This commit includes the kuryrnetwork handler to the docs
of Enabling Network Policy to correctly handle Nampespaces
creation with the Namespace handler.

Change-Id: Ia23b703c0e49838d37e46bd589ac4a138f772ebc
2021-05-11 11:45:05 +02:00
Zuul 1260af7022 Merge "Update container images used on the docs" 2021-04-01 17:34:39 +00:00
Sunday Mgbogu 3918e87e40 Update container images used on the docs
With the new docker download rate limitation, we should update Kuryr-kubernetes documentation to move from celebdor/kuryr-demo container image to quay.io/kuryr/demo.

closes-bug: 1920022

Change-Id: I93bbe01c156bb3d77f9155d5db34be4bc2faa9fe
2021-04-01 07:45:12 +01:00
Tabitha Fasoyin 87f6c66d31 Add option to set listener timeouts for lb created by Kuryr
The timeout-client-data and timeout-member-data configurations
for Octavia listeners default to 50 seconds for load balancers
created by Kuryr. This patch allows the creation and modification
of load balancers handled by Kuryr with different timeouts values.

Implements: blueprint configure-lb-listeners-timeout
Change-Id: I99016001c2263023d1fa2637d7b5aeb23b3b2d9d
2021-03-17 14:58:37 +00:00
Zuul a31c6c5b36 Merge "Update documentation for svc and ep annotation to KuryrLoadBalancer" 2021-02-05 12:39:30 +00:00
scavnicka 1d8afc722d Update documentation for svc and ep annotation to KuryrLoadBalancer
Change-Id: Ia4c60d4bb8f3e4c232ef0d83d32f9e0bba3815ba
2021-02-05 11:58:28 +00:00
Zuul 5e205c61af Merge "Multiple nodes subnets support" 2021-01-26 13:21:26 +00:00
Michał Dulko b3814a33d6 Multiple nodes subnets support
This commit deprecates `[pod_vif_nested]worker_nodes_subnet` in favor of
`[pod_vif_nested]worker_nodes_subnets` that will accept a list instead.
All the code using the deprecated options is updated to expect a list
and iterate over possible nodes subnets.

Change-Id: I7671fb06863d58b58905bec43555d8f21626f640
2021-01-22 13:41:39 +01:00
Zuul 3e38af9a4c Merge "Adapt selfLink calculation for any k8s objects." 2021-01-18 16:22:44 +00:00
Tabitha 329fc5f5f8 [DOCS] Testing SCTP service support
Includes instructions for creating K8s services with SCTP
protocol and verifying Kuryr-kubernetes SCTP support.
To-do: Kuryr tempest tests.

Partially-Implements: blueprint sctp-support
Change-Id: I89590e5b04bb87936954bb46a4bb1a9a14540a00
2021-01-15 11:47:25 +01:00
Roman Dobosz de6a06c6f7 Adapt selfLink calculation for any k8s objects.
Also, selfLink occurrences in unit tests has been removed (besides
those, which actually make sense), and documentation.

Implements: blueprint selflink
Change-Id: Ib0bcc9f5cb6c4cdc27c3393dcb3f665b21cb64ac
2021-01-12 15:59:22 +01:00
Michał Dulko 478257afc6 CNI docs: Fix return code
Change-Id: Ia8374173075d14a0487ee2bca22c2480efd005ef
Closes-Bug: 1909113
2021-01-05 15:37:43 +01:00
Tabitha 5a82a344f5 Adds doc about ovn-octavia driver support
Details about Kuryr support for OVN Octavia driver are included in the
Kubernetes services networking documentation. This change, also adds an
extra section about how to enable ovn-octavia driver usage on Kuryr for
DevStack.

Change-Id: Idf73dbfdd776be443bd8272eaf8e24bf47aaab39
Closes-Bug: #1899295
2020-12-10 13:32:29 +01:00
Zuul 22dbcae14b Merge "Fix docs for NP." 2020-12-04 09:29:15 +00:00
Roman Dobosz df3a49f99a Fix docs for NP.
Change-Id: I7e4dc78276e9faa8005ff12b1152efbb7d9aff84
2020-12-03 13:50:54 +01:00
Zuul fba215bd10 Merge "Add basic docs about nested mode" 2020-12-03 09:25:44 +00:00
Tabitha 643468ae68 Fix spelling errors.
Corrects typos in kuryr-kubernetes documentation.

Change-Id: Id53f321ef94d2ed1802c28cebefd7040c9944526
Closes-Bug: #1906521
2020-12-02 16:04:37 +01:00
Zuul 11b61be0f1 Merge "Move to quay.io with kuryr/demo docker image." 2020-11-25 17:25:43 +00:00
Michał Dulko 775a4c9ef2 Add basic docs about nested mode
Related-Bug: 1904488
Change-Id: Id3149e3ee1899d99a6496b90c28033c930ce8232
2020-11-24 15:35:23 +01:00
Roman Dobosz 293750c9db Move to quay.io with kuryr/demo docker image.
Change documentation and tests from 'demo/kuryr' which by default will
use docker registry to 'quay.io/demo/kuryr' which will hint about
quay.io registry.

Change-Id: I7edc6bd8fed2943acf78ce2b66c44c91b1c33114
2020-11-19 10:24:37 +01:00
Maysa Macedo 525dc1521d Ensure egress NP works with Service without selectors
This commit ensures egress Network policy can also work with
services without selectors.

Change-Id: I26e1dce0b6e363f027ee6d4dfea99053ffe80bbe
2020-11-16 14:15:47 +01:00
Zuul 0a31327da8 Merge "Splits kuryr-controller and kuryr-cni ServiceAccounts" 2020-10-28 03:13:43 +00:00
Zuul 881ec65d1a Merge "updates network policy doc" 2020-10-26 18:08:42 +00:00
Kafilat Adeleke 3407636c84 updates network policy doc
updates the documentation about enabling the network policy
support to include the option to set enforce_sg_rules to false.

Change-Id: Ic7247718d7d179e87ea84bbc21a022791091c439
Closes-Bug: #1901097
2020-10-26 17:36:25 +00:00
Tabitha 6a6e4907e5 Splits kuryr-controller and kuryr-cni ServiceAccounts
The same ServiceAccount was used for kuryr-controller and kuryr-cni.
This change splits the ServiceAccount, generates two ServiceAccounts,
controller_service_account.yaml and cni_service_account.yaml and
applies them.The documentation, Kuryr installation as kubernetes addon
network addon was also updated to reflect this change.

Change-Id: I567aaa38f5498af4641e06002b808915dd467aec
Closes-Bug: #1764783
2020-10-26 13:14:32 +01:00
AghaSaad04 bef1fcdd8a removed unused env variable reference
I've removed the outdated ENV variable KURYR_K8S_LBAAS_USE_OCTAVIA
reference from the documentation. As this was misleading and not been
enforced anywhere.

Closes-Bug: #1901081
Change-Id: I7b114de5913eeeb9e0caa4bebef39ca5038d6dc4
2020-10-25 23:14:56 +05:00
Tabitha fd18e34791 Removes unprovided kuryr-cni.conf file docs
The kuryr-cni.conf file was removed and is no longer provided in the ConfigMap
(kuryr-config). The only file present in the ConfigMap is the kuryr.conf file.
The Kuryr-Kubernetes documentation for containerized installation and how to
enable ports pool support was updated to reflect this change.

Change-Id: I1afbd1db9e90727b2f3dbed3a1341f99550b3a2b
Closes-Bug: #1900723
2020-10-21 16:06:31 +01:00
Tabitha 5a1842bf7b Removes deprecated lbaasv2 haproxy docs
The lbaasv2 haproxy driver was removed and deprecated,
and the only supported option at the moment is octavia.
The Kuryr-Kubernetes documentation for Kubernetes services networking was
updated to reflect this change.

Change-Id: I72811ae0b9d15c781a7cce567d29c8189832fcb7
Closes-Bug: #1899284
2020-10-15 16:51:28 +01:00
Kafilat Adeleke 2f828486c7 corrects Kubernetes Services handlers
The handlers that need to be enabled to correctly handle
Kubernetes Services events are (endpoints,service,kuryrloadbalancer)
and not (lb,lbaasspec) as placed in most of the docs.
This was due to the recent movement to KuryrLoadBalancer custom
resources definitions (CRD).

Change-Id: I0eff3b68839a659d39650e2cb22956e30d2c7332
Closes-Bug: #1899013
2020-10-14 04:44:02 -07:00
Kafilat Adeleke 479650c6ec removes kuryr_kubernetes_ingress_design
removes kuryr_kubernetes_ingress_design from doc,
because the feature kuryr_kubernetes_ingress_design
was deprecated and removed

Change-Id: Id7b8cdda8f534971b99c7bef7d8536744b1e714e
2020-10-10 03:31:10 -07:00
Kafilat Adeleke 78488bcf32 updates docs to "kubectl create deployment"
With the new default Kubernetes 1.18 version used by Kuryr,
the command "kubectl run" does not create a Kubernetes Deployment
anymore, but instead creates a Pod.
The Kuryr docs should get updated to still support a
Deployment creation with the command "kubectl create deployment"

Change-Id: I8df10e64d71cc224e08825987d538693df1719f3
Closes-Bug:  #1897391
2020-10-08 07:36:53 -07:00