You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Fabriceli (via GitHub)" <gi...@apache.org> on 2023/04/21 07:19:27 UTC

[GitHub] [apisix-ingress-controller] Fabriceli opened a new issue, #1805: request help: How to set up global plugin config?

Fabriceli opened a new issue, #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805

   ### Issue description
   
   Can we use `ApisixPluginConfig` to set up global plugin? If so, how to config? that fellow config yaml not work well:
   ```yaml
   apiVersion: apisix.apache.org/v2
   kind: ApisixPluginConfig
   metadata:
     name: global-plugin-config
     namespace: apisix
   spec:
     plugins:
       - name: skywalking-logger
         enable: true
         config:
           endpoint_addr: "http://skywalking-skywalking-helm-oap.skywalking.svc.cluster.local:12800"
           service_name: "APISIX::APISIX-sit"
           service_instance_name: "APISIX Instance sit"
   ```
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
   1.6.1
   - your Kubernetes cluster version (output of kubectl version):
   ```sh
   Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.8", GitCommit:"fdc77503e954d1ee641c0e350481f7528e8d068b", GitTreeState:"clean", BuildDate:"2022-11-09T13:38:19Z", GoVersion:"go1.18.8", Compiler:"gc", Platform:"linux/amd64"}
   Kustomize Version: v4.5.4
   Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.9", GitCommit:"9710807c82740b9799453677c977758becf0acbb", GitTreeState:"clean", BuildDate:"2022-12-08T10:08:06Z", GoVersion:"go1.18.9", Compiler:"gc", Platform:"linux/amd64"}
   ```
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   ```sh
   Linux metal-master1-sit 5.4.0-131-generic #147-Ubuntu SMP Fri Oct 14 17:07:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1805: request help: How to set up global plugin config?

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1527149317

   https://github.com/apache/apisix-ingress-controller/blob/2182a48cbca785373eca745a13d8cf2b7d9ab6c8/test/e2e/suite-features/global_rule.go#L31-L40
   
   we have a new resource `ApisixGlobalRule` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] ps-19 commented on issue #1805: request help: How to set up global plugin config?

Posted by "ps-19 (via GitHub)" <gi...@apache.org>.
ps-19 commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1517994342

   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixPluginConfig
   metadata:
     name: global-plugin-config
     namespace: apisix
   spec:
     plugins:
       - name: skywalking-logger
         enable: true
         config:
           endpoint_addr: "http://skywalking-skywalking-helm-oap.skywalking.svc.cluster.local:12800"
           service_name: "APISIX::APISIX-sit"
           service_instance_name: "APISIX Instance sit"
   
   ```
   
   
   `kubectl apply -f this_file_name.yaml`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] Fabriceli commented on issue #1805: request help: How to set up global plugin config?

Posted by "Fabriceli (via GitHub)" <gi...@apache.org>.
Fabriceli commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1541132902

   @tao12345666333 `ApisixGlobalRule` has released in 1.6.1 version?
   ```sh
   error: the server doesn't have a resource type "ApisixGlobalRule"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] Fabriceli commented on issue #1805: request help: How to set up global plugin config?

Posted by "Fabriceli (via GitHub)" <gi...@apache.org>.
Fabriceli commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1521537337

   > ```
   > apiVersion: apisix.apache.org/v2
   > kind: ApisixPluginConfig
   > metadata:
   >   name: global-plugin-config
   >   namespace: apisix
   > spec:
   >   plugins:
   >     - name: skywalking-logger
   >       enable: true
   >       config:
   >         endpoint_addr: "http://skywalking-skywalking-helm-oap.skywalking.svc.cluster.local:12800"
   >         service_name: "APISIX::APISIX-sit"
   >         service_instance_name: "APISIX Instance sit"
   > ```
   > 
   > `kubectl apply -f this_file_name.yaml`
   
   Do not work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1805: request help: How to set up global plugin config?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1678293841

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1805: request help: How to set up global plugin config?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1718527570

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1805: request help: How to set up global plugin config?

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1549036661

   No. It will be introduced in v1.7.
   
   You can try the master branch code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] Fabriceli commented on issue #1805: request help: How to set up global plugin config?

Posted by "Fabriceli (via GitHub)" <gi...@apache.org>.
Fabriceli commented on issue #1805:
URL: https://github.com/apache/apisix-ingress-controller/issues/1805#issuecomment-1527746249

   > https://github.com/apache/apisix-ingress-controller/blob/2182a48cbca785373eca745a13d8cf2b7d9ab6c8/test/e2e/suite-features/global_rule.go#L31-L40
   > 
   > 
   > 
   > we have a new resource `ApisixGlobalRule` 
   
   It seems great, I will try it later 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1805: request help: How to set up global plugin config?

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1805: request help: How to set up global plugin config?
URL: https://github.com/apache/apisix-ingress-controller/issues/1805


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org