GithubHelp home page GithubHelp logo

Comments (3)

mikaelkundert avatar mikaelkundert commented on July 23, 2024 1

I noticed that error message was about missing test.js, but here's the actual error message that indicates that latter command should work.

$ K6_STATSD_ADDR=graphite-1622816495:8125 k6 run --quiet --execution-segment=0:1/4 --execution-segment-sequence=0,1/4,2/4,3/4,1 -e K6_STATSD_ADDR=graphite-1622816495:8125 --out statsd ./test.js --address=0.0.0.0:6565 --paused

          /\      |‾‾| /‾‾/   /‾‾/   
     /\  /  \     |  |/  /   /  /    
    /  \/    \    |     (   /   ‾‾\  
   /          \   |  |\  \ |  (‾)  | 
  / __________ \  |__| \__\ \_____/ .io

ERRO[0000] Couldn't make buffered client, lookup graphite-1622816495 on 127.0.0.53:53: server misbehaving  output=statsd
ERRO[0000] lookup graphite-1622816495 on 127.0.0.53:53: server misbehaving 

from k6-operator.

mikaelkundert avatar mikaelkundert commented on July 23, 2024 1

Command seems to be assembled by jobs.NewRunnerJob at https://github.com/k6io/operator/blob/main/pkg/resources/jobs/runner.go#L24L115.

My initial vision for how to specify those environment variables would be using familiar env pattern such as:

apiVersion: k6.io/v1alpha1
kind: K6
metadata:
  name: k6-sample
spec:
  parallelism: 4
  script: crocodile-stress-test
  env:
    - name: K6_STATSD_ADDR
      value: graphite-1622816495:8125
  arguments: --out statsd

from k6-operator.

simskij avatar simskij commented on July 23, 2024

Yes, that would be my suggestion as well!

from k6-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.