Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery


Kumar Prasad, Vikash
 

Dear Kanag,

Thanks for your reply. Sure we will share our findings on sysctl in kubernetes.

 

Thanks

Vikash kumar prasad

 

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Kanagaraj Manickam via groups.io
Sent: Wednesday, January 19, 2022 5:46 PM
To: main@edgegallery.groups.io
Subject: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi Vikash,

 

This issue is not specific to the edgegallery platform and As per the kubernetes, local port range setting for ipv4 should work by default under security context configuration.

While investigating this issue for you I have come across https://github.com/kubernetes/kubernetes/issues/69213  Please have a look.

 

Also please share us your findings if something we could provide this as configurable for k8s during edgegallery deployment point of view. Thanks

 

Regards

Kanag

 

From: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] On Behalf Of Kumar Prasad, Vikash
Sent: Wednesday, January 19, 2022 5:17 PM
To: main@edgegallery.groups.io
Subject: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear,

I wanted this parameter to be set in the nginx container

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

which is dependent on sysctl configuration as I had sent you in my nginxDemo.yaml file.

 

 

The yaml file which you sent is not containing below container parameter setting

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

 

Thanks for your valuable time.

 

Thanks

Vikash kumar prasad

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Wednesday, January 19, 2022 5:05 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Vikash

We do not have the env of 1.3 at now. please to use this yaml file. If there are other issues, please send the error log to us.

The format of this file must comply with the k8s specification.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022119 18:44
收件人: main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

This is just a reminder mail if you could provide me the ngingx.yaml file for my reference.

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Wednesday, January 19, 2022 9:14 AM
To:
main@edgegallery.groups.io
Subject: RE: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear zhangbeiyuan,

 

Could you please send me the modified yaml file which is running for you.

It will be a great help to refer to a working yaml file.

 

PS: I am using EdgeGallery version 1.3.

 

Thanks

Vikash kumar prasad

 

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Tuesday, January 18, 2022 7:03 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi  Vikash

Please change the file name to lowercase letters,  eg: nginxdemo.yaml, Then you need to delete Pod from the file because no spec. 

We have checked it  in EdgeGallery v1.5, and it is running ok

Please try again. If there are other issues, please send the error log to us.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Zhangbeiyuan via groups.io
发送时间: 2022118 14:50
收件人:
main@edgegallery.groups.io
主题: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi Vikash kumar Prasad

 

Firstly I find some format error in nginxDemo.yaml. expected  '1024 65535',  not  1024 65535'. 

We will try to this yaml to publish an application in EdgeGallery v1.5, and then I will get back to you with the resoult.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022118 12:59
收件人:
main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Team,

I am sending this mail once again in case you missed this mail yesterday.

I am waiting for your suggestion, how I can resolve this issue!!

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Monday, January 17, 2022 1:29 PM
To: main@edgegallery.groups.io
Subject: Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

 

Dear Team,

I am trying to run this nginxDemo.yaml file on EdgeGallery version 3, I want the below changes

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

so that I could see /proc/sys/net/ipv4/ip_local_port_range of my container to be changed from default to ‘1024 65535'

 

 

Thanks

Vikash kumar prasad


Kanagaraj Manickam
 

Hi Vikash,

 

This issue is not specific to the edgegallery platform and As per the kubernetes, local port range setting for ipv4 should work by default under security context configuration.

While investigating this issue for you I have come across https://github.com/kubernetes/kubernetes/issues/69213  Please have a look.

 

Also please share us your findings if something we could provide this as configurable for k8s during edgegallery deployment point of view. Thanks

 

Regards

Kanag

 

From: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] On Behalf Of Kumar Prasad, Vikash
Sent: Wednesday, January 19, 2022 5:17 PM
To: main@edgegallery.groups.io
Subject: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear,

I wanted this parameter to be set in the nginx container

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

which is dependent on sysctl configuration as I had sent you in my nginxDemo.yaml file.

 

 

The yaml file which you sent is not containing below container parameter setting

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

 

Thanks for your valuable time.

 

Thanks

Vikash kumar prasad

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Wednesday, January 19, 2022 5:05 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Vikash

We do not have the env of 1.3 at now. please to use this yaml file. If there are other issues, please send the error log to us.

The format of this file must comply with the k8s specification.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022119 18:44
收件人: main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

This is just a reminder mail if you could provide me the ngingx.yaml file for my reference.

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Wednesday, January 19, 2022 9:14 AM
To:
main@edgegallery.groups.io
Subject: RE: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear zhangbeiyuan,

 

Could you please send me the modified yaml file which is running for you.

It will be a great help to refer to a working yaml file.

 

PS: I am using EdgeGallery version 1.3.

 

Thanks

Vikash kumar prasad

 

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Tuesday, January 18, 2022 7:03 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi  Vikash

Please change the file name to lowercase letters,  eg: nginxdemo.yaml, Then you need to delete Pod from the file because no spec. 

We have checked it  in EdgeGallery v1.5, and it is running ok

Please try again. If there are other issues, please send the error log to us.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Zhangbeiyuan via groups.io
发送时间: 2022118 14:50
收件人:
main@edgegallery.groups.io
主题: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi Vikash kumar Prasad

 

Firstly I find some format error in nginxDemo.yaml. expected  '1024 65535',  not  1024 65535'. 

We will try to this yaml to publish an application in EdgeGallery v1.5, and then I will get back to you with the resoult.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022118 12:59
收件人:
main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Team,

I am sending this mail once again in case you missed this mail yesterday.

I am waiting for your suggestion, how I can resolve this issue!!

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Monday, January 17, 2022 1:29 PM
To: main@edgegallery.groups.io
Subject: Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

 

Dear Team,

I am trying to run this nginxDemo.yaml file on EdgeGallery version 3, I want the below changes

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

so that I could see /proc/sys/net/ipv4/ip_local_port_range of my container to be changed from default to ‘1024 65535'

 

 

Thanks

Vikash kumar prasad


Kumar Prasad, Vikash
 

Dear,

I wanted this parameter to be set in the nginx container

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

which is dependent on sysctl configuration as I had sent you in my nginxDemo.yaml file.

 

 

The yaml file which you sent is not containing below container parameter setting

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

 

Thanks for your valuable time.

 

Thanks

Vikash kumar prasad

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Wednesday, January 19, 2022 5:05 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Vikash

We do not have the env of 1.3 at now. please to use this yaml file. If there are other issues, please send the error log to us.

The format of this file must comply with the k8s specification.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022119 18:44
收件人: main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

This is just a reminder mail if you could provide me the ngingx.yaml file for my reference.

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Wednesday, January 19, 2022 9:14 AM
To:
main@edgegallery.groups.io
Subject: RE: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear zhangbeiyuan,

 

Could you please send me the modified yaml file which is running for you.

It will be a great help to refer to a working yaml file.

 

PS: I am using EdgeGallery version 1.3.

 

Thanks

Vikash kumar prasad

 

From: main@edgegallery.groups.io <main@edgegallery.groups.io> On Behalf Of Zhangbeiyuan via groups.io
Sent: Tuesday, January 18, 2022 7:03 PM
To: main@edgegallery.groups.io
Subject: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi  Vikash

Please change the file name to lowercase letters,  eg: nginxdemo.yaml, Then you need to delete Pod from the file because no spec. 

We have checked it  in EdgeGallery v1.5, and it is running ok

Please try again. If there are other issues, please send the error log to us.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Zhangbeiyuan via groups.io
发送时间: 2022118 14:50
收件人:
main@edgegallery.groups.io
主题: 答复: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Hi Vikash kumar Prasad

 

Firstly I find some format error in nginxDemo.yaml. expected  '1024 65535',  not  1024 65535'. 

We will try to this yaml to publish an application in EdgeGallery v1.5, and then I will get back to you with the resoult.

 

Thanks

zhangbeiyuan

 

发件人: main@edgegallery.groups.io [mailto:main@edgegallery.groups.io] 代表 Kumar Prasad, Vikash
发送时间: 2022118 12:59
收件人:
main@edgegallery.groups.io
主题: Re: [EdgeGallery] Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

Dear Team,

I am sending this mail once again in case you missed this mail yesterday.

I am waiting for your suggestion, how I can resolve this issue!!

 

Thanks

Vikash kumar prasad

 

From: Kumar Prasad, Vikash (ADV D AA DASS T&I TPOCS)
Sent: Monday, January 17, 2022 1:29 PM
To: main@edgegallery.groups.io
Subject: Not able to modify ipv4.ip_local_port_range of my nginx container running as a service on edgegallery

 

 

Dear Team,

I am trying to run this nginxDemo.yaml file on EdgeGallery version 3, I want the below changes

 

  - name: ipv4.ip_local_port_range

    value: ‘1024 65535'

 

so that I could see /proc/sys/net/ipv4/ip_local_port_range of my container to be changed from default to ‘1024 65535'

 

 

Thanks

Vikash kumar prasad