rollouts-plugin-trafficrouter-gatewayapi: Failed to run Gateway API plugin

I have installed the latest version of the argo-rollout controller and v0.0.1 gateway API plugin. I have installed plugin using ConfigMap as follows

apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app.kubernetes.io/component: rollouts-controller
    app.kubernetes.io/name: argo-rollouts
    app.kubernetes.io/part-of: argo-rollouts
  name: argo-rollouts-config
data:
  trafficRouterPlugins: |-
    - name: "argoproj-labs/gatewayAPI"
      location: "https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi/releases/download/v0.0.1/gateway-api-plugin-darwin-arm64"

Plugin is getting downloaded successfully but when I create a rollout I get the below error:

failed to get traffic router plugin argoproj-labs/gatewayAPI: unable to start plugin system: unable to get plugin client (argoproj-labs/gatewayAPI) for ping: exec: Stdout already set\n" error="<nil>"

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

That did the trick! 🎉 Do you want me to include that in my PR? Update: never mind that was merged

I just tried to set GOARCH=amd64 explicitly now, and it seems to create two different files, and now file <file> seems to reflect that:

gatewayapi-plugin-linux-amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=x1OlSwNtTFCJ7LkjL7yB/dHQMalkIyRzOLn2z71KH/mfhjo9aI_f5sHJRnG0Fq/uEqdhtlsLicxCFmxudLb, with debug_info, not stripped
gatewayapi-plugin-linux-arm64: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=xCS8rb6JhpfuixUYbpPY/9uSVsG-kz6QvOR2E7DUR/z4WTLPHyMqlZQqxH7I5X/kW93zDIx7qC6AXZlWEhI, with debug_info, not stripped