Update content
This commit is contained in:
parent
e2a64a4766
commit
a7af3a94de
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,6 @@ Container
|
||||
- :ref:`Modifying Kernel Parameters Using a Privileged Container <cce_bestpractice_00227>`
|
||||
- :ref:`Initializing a Container <cce_bestpractice_00228>`
|
||||
- :ref:`Using hostAliases to Configure /etc/hosts in a Pod <cce_bestpractice_00226>`
|
||||
- :ref:`How Do I Select a Container Runtime? <cce_bestpractice_0140>`
|
||||
- :ref:`Configuring Core Dumps <cce_bestpractice_0325>`
|
||||
|
||||
.. toctree::
|
||||
@ -20,5 +19,4 @@ Container
|
||||
modifying_kernel_parameters_using_a_privileged_container
|
||||
initializing_a_container
|
||||
using_hostaliases_to_configure_etc_hosts_in_a_pod
|
||||
how_do_i_select_a_container_runtime
|
||||
configuring_core_dumps
|
||||
|
@ -94,7 +94,7 @@ Creating a Release
|
||||
|
||||
#. Log in to the CCE console, click the cluster name, and access the cluster console. In the navigation pane, choose **Charts**.
|
||||
|
||||
#. In the list of uploaded charts, click **Install**.
|
||||
#. On the **My Charts** tab page, click **Install** of the target chart.
|
||||
|
||||
#. Set workload installation parameters by referring to :ref:`Table 2 <cce_10_0146__t26bc1c499f114b5185e5edcf61e44d95>`.
|
||||
|
||||
|
@ -479,10 +479,12 @@ Ingress supports TLS certificate configuration and secures your Services with HT
|
||||
|
||||
.. note::
|
||||
|
||||
Derfault security policy (kubernetes.io/elb.tls-ciphers-policy) is supported only in clusters of v1.17.17 or later.
|
||||
Default security policy (kubernetes.io/elb.tls-ciphers-policy) is supported only in clusters of v1.17.17 or later.
|
||||
|
||||
**The following uses the automatically created load balancer as an example. The YAML file is configured as follows:**
|
||||
|
||||
**For clusters of v1.21 or earlier:**
|
||||
|
||||
.. code-block::
|
||||
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
@ -517,6 +519,45 @@ Ingress supports TLS certificate configuration and secures your Services with HT
|
||||
property:
|
||||
ingress.beta.kubernetes.io/url-match-mode: STARTS_WITH
|
||||
|
||||
**For clusters of v1.23 or later:**
|
||||
|
||||
.. code-block::
|
||||
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress-test
|
||||
annotations:
|
||||
kubernetes.io/elb.class: union
|
||||
kubernetes.io/elb.port: '443'
|
||||
kubernetes.io/elb.autocreate:
|
||||
'{
|
||||
"type":"public",
|
||||
"bandwidth_name":"cce-bandwidth-15511633796**",
|
||||
"bandwidth_chargemode":"bandwidth",
|
||||
"bandwidth_size":5,
|
||||
"bandwidth_sharetype":"PER",
|
||||
"eip_type":"5_bgp"
|
||||
}'
|
||||
kubernetes.io/elb.tls-ciphers-policy: tls-1-2
|
||||
spec:
|
||||
tls:
|
||||
- secretName: ingress-test-secret
|
||||
rules:
|
||||
- host: ''
|
||||
http:
|
||||
paths:
|
||||
- path: '/'
|
||||
backend:
|
||||
service:
|
||||
name: <your_service_name> # Replace it with the name of your target Service.
|
||||
port:
|
||||
number: 8080 # Replace 8080 with the port number of your target Service.
|
||||
property:
|
||||
ingress.beta.kubernetes.io/url-match-mode: STARTS_WITH
|
||||
pathType: ImplementationSpecific
|
||||
ingressClassName: cce
|
||||
|
||||
.. table:: **Table 4** Key parameters
|
||||
|
||||
+--------------------------------------+-----------------+------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
Loading…
x
Reference in New Issue
Block a user