yahaa

yahaa

So good that i'm so bad!

Member Since 6 years ago

@qbox , ShangHai University

Experience Points
66
follower
Lessons Completed
98
follow
Lessons Completed
130
stars
Best Reply Awards
118
repos

178 contributions in the last year

Pinned
⚡ kubeconfig generation tool
⚡ Write a simple socks5 server using rust.
⚡ A Kubernetes Native Batch System (Project under CNCF)
⚡ Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
Activity
Jan
16
3 days ago
started
started time in 2 days ago
Jan
15
4 days ago
Activity icon
fork

yahaa forked shadowsocks/shadowsocks-rust

⚡ A Rust port of shadowsocks
yahaa MIT License Updated
fork time in 4 days ago
started
started time in 4 days ago
Jan
14
5 days ago
started
started time in 4 days ago
Jan
10
1 week ago
started
started time in 1 week ago
Nov
30
1 month ago
started
started time in 1 month ago
Nov
16
2 months ago
push

yahaa push yahaa/telegraf

yahaa
yahaa

fix: super-linter use v4.8.1, issue with latest (#10108)

yahaa
yahaa

fix: Linter fixes for plugins/inputs/p* (#10066)

yahaa
yahaa

Merge branch 'master' into fix-prometheus-input-plugin

commit sha: 88129a5cfef8bf538d217345f45239c1e75aa8e9

push time in 2 months ago
Nov
13
2 months ago
started
started time in 2 months ago
Nov
12
2 months ago
open pull request

yahaa wants to merge influxdata/telegraf

yahaa
yahaa

fix: prometheus input plugin run outside k8s cluster err

Required for all PRs:

resolves #

fix prometheus input plugin run outside k8s cluster err.

yahaa
yahaa

Ok, Thanks for your feedback, i have rebase and resolve the conflicts.

It's diffcult to add github.com/imdario/mergo and github.com/spf13/pflag in the right place in the LICENSE_OF_DEPENDENCIES.md because we need to ensure it in alphabetical order.

pull request

yahaa merge to influxdata/telegraf

yahaa
yahaa

fix: prometheus input plugin run outside k8s cluster err

Required for all PRs:

resolves #

fix prometheus input plugin run outside k8s cluster err.

push

yahaa push yahaa/telegraf

yahaa
yahaa

fix: prometheus input plugin run outside k8s cluster err

commit sha: 598438c81cf050ed3cff9314e7b7876a51acc15f

push time in 2 months ago
push

yahaa push yahaa/telegraf

yahaa
yahaa

docs: update README with info on package repos (#9964)

yahaa
yahaa

fix: Graylog plugin TLS support and message format (#9862)

yahaa
yahaa

chore: update go to 1.17.2 (#9873)

yahaa
yahaa

fix: Check return code of zfs command for FreeBSD. (#9956)

yahaa
yahaa

feat: update etc/telegraf.conf and etc/telegraf_windows.conf (#9876)

yahaa
yahaa

fix: starlark pop operation for non-existing keys (#9954)

yahaa
yahaa

chore: lint ignore fmt.Printf unhandled error (#9967)

yahaa
yahaa

chore: Update to AWS SDK v2 (#9647)

yahaa
yahaa

feat: Kafka Add metadata full to config (#9833)

yahaa
yahaa

fix: set NIGHTLY=1 for correctly named nightly artifacts (#9987)

yahaa
yahaa

docs: Create SECURITY.md (#9951)

Co-authored-by: Joshua Powers [email protected]

yahaa
yahaa

feat: Add more details to processors.ifname logmessages (#9984)

yahaa
yahaa

fix: add s390x to nightlies (#9990)

yahaa
yahaa

docs: update nightlies links (#9989)

yahaa
yahaa

feat: add option to skip table creation in azure data explorer output (#9942)

yahaa
yahaa

feat: plugins/common/tls/config.go: Filter client certificates by DNS names (#9910)

yahaa
yahaa

test: add sqlserver plugin integration tests (#9943)

  • Adding integration tests for AzureSQLDBResourceStats.

  • Adding azuresqlmanagedqueries_test.go

  • Updated integration tests for sql managed instance queries.

  • Updated integration tests for sql database queries.

  • Updated integration tests for azure sql database queries

  • Updated integration tests for azure sql managed instance queries

  • Fixed lint issues with make fmt.

Co-authored-by: yannick [email protected]ft.com

yahaa
yahaa

fix: Allow for non x86 macs in Go install script (#9982)

yahaa
yahaa

chore: create bug report form (#9976)

yahaa
yahaa

fix: procstat tags were not getting generated correctly (#9973)

Fixes: #9961

commit sha: cfd8046673975353f8ef50d14b3e52541e9ec149

push time in 2 months ago
Nov
10
2 months ago
Activity icon
issue

yahaa issue volcano-sh/volcano

yahaa
yahaa

Queue capability hard constraints have no use ?

What happened: I want to test volcano queue capability hard constraints, but the result is very strange.

There is my test case:

  • default-queue.yaml
apiVersion: scheduling.volcano.sh/v1beta1
kind: Queue
metadata:
  name: default
spec:
  capability:
    cpu: 20m
    memory: 20Mi
  reclaimable: false
  weight: 1
status:
  state: Open
  • test-queue.yaml
apiVersion: scheduling.volcano.sh/v1beta1
kind: Queue
metadata:
  name: test
spec:
  reclaimable: false
  weight: 1
  capability:
    cpu: "40m"
    memory: "40Mi"
status:
  state: Open
  • test1.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test1
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2
  template:
    metadata:
      labels:
        app: nginx
    spec:
      schedulerName: volcano
      containers:
      - name: nginx
        image: nginx:1.14.2
        ports:
        - containerPort: 80
        resources:
          requests:
            cpu: "2"
            memory: "1Gi"
          limits:
            cpu: "2"
            memory: "1Gi"
  • test2.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test2
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2
  template:
    metadata:
      labels:
        app: nginx
      annotations:
        scheduling.volcano.sh/queue-name: test
    spec:
      schedulerName: volcano
      containers:
      - name: nginx
        image: nginx:1.14.2
        ports:
        - containerPort: 80
        resources:
          requests:
            cpu: "2"
            memory: "1Gi"
          limits:
            cpu: "2"
            memory: "1Gi"

and when i apply above yaml files to k8s, i got the below scheduled result

image

What you expected to happen:

Neither test1 nor test2 can be scheduled.

How to reproduce it (as minimally and precisely as possible):

  • edit default queue as default-queue.yaml
  • kubectl apply -f test-queue.yaml
  • kubectl apply -f test1.yaml
  • kubectl apply -f test2.yaml

Anything else we need to know?:

Environment:

  • Volcano Version: 1.2.0

  • Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.0-beta.1.229+fcee7a01050652", GitCommit:"fcee7a01050652e54d2819b1942533d96e40f455", GitTreeState:"clean", BuildDate:"2021-03-12T09:50:09Z", GoVersion:"go1.16.1", Compiler:"gc", Platform:"darwin/arm64"} Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"clean", BuildDate:"2020-09-16T13:47:43Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"} WARNING: version difference between client (1.21) and server (1.18) exceeds the supported minor version skew of +/-1

  • Cloud provider or hardware configuration:

  • OS (e.g. from /etc/os-release):

  • Kernel (e.g. uname -a):

  • Install tools:

  • Others:

My volcano-scheduler-configmap as below

apiVersion: v1
data:
  volcano-scheduler.conf: |
    actions: "enqueue, allocate, backfill"
    tiers:
    - plugins:
      - name: priority
      - name: gang
      - name: conformance
    - plugins:
      - name: drf
      - name: predicates
      - name: proportion
      - name: nodeorder
      - name: binpack
kind: ConfigMap
metadata:
  name: volcano-scheduler-configmap
  namespace: volcano-system

push

yahaa push yahaa/telegraf

yahaa
yahaa

fix: pod watcher missing events

commit sha: 55c9acc105a1ee6f6fc9d05f80aa8941b5c8d108

push time in 2 months ago
pull request

yahaa pull request yahaa/telegraf

yahaa
yahaa

Fix kubernetes watch err

Required for all PRs:

resolves #

push

yahaa push yahaa/telegraf

yahaa
yahaa
yahaa
yahaa

add external plugins in docs

yahaa
yahaa

Revert "add netflow plugin"

This reverts commit be90a96fedf27efca04e6a9c2e9e5c75a1cc72f0.

yahaa
yahaa

add dnsmasq plugin in external plugin (#9187)

yahaa
yahaa

Linter fixes for plugins/inputs/[ab]* (#9191)

yahaa
yahaa

Private linter for Telegraf (#9168)

  • Custom linter

  • Telegraf private linter

Co-authored-by: Bas [email protected]

yahaa
yahaa

Remote write compliance updates (#9196)

yahaa
yahaa

upgrade gogo protobuf to v1.3.2 (#9190)

yahaa
yahaa

Resolve dependabot error by ignoring package (#9202)

Ignoring the package gopkg.in/djherbis/times.v1 because it is causing dependabot to throw the following error:

Dependabot wasn't able to update gopkg.in/djherbis/times.v1

The module path gopkg.in/djherbis/times.v1 found in your go.mod doesn't match the actual path github.com/djherbis/times found in the dependency's go.mod.

Updating the module path in your go.mod to github.com/djherbis/times should resolve this issue.
yahaa
yahaa

Ignore soniah/gosnmp depedency (#9205)

yahaa
yahaa

Update Dependabot config: ignore all packages with .v (#9206)

yahaa
yahaa
yahaa
yahaa

Linter fixes for plugins/inputs/[c]* (#9194)

  • Linter fixes for plugins/inputs/[c]*

  • Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak

yahaa
yahaa

Fix apcupsd 'ALARMDEL' bug via forked repo (#9195)

  • add oauth2 to http input

  • switch APC UPSD dependency to forked version with bug fixed.

  • fix branch discrepancies

  • fix branch discrepancies

  • fix branch discrepancies

  • fix branch discrepancies

  • fork to influxdata repo

yahaa
yahaa

Remove outdated milestones info from FAQ (#9213)

yahaa
yahaa

Converter processor: add support for large hexadecimal strings (#9160)

  • add oauth2 to http input

  • reset not included changes

  • reset not included changes

  • reset not included changes

  • add hexadecimal parser changes

  • add linter changes

  • add documentation note

yahaa
yahaa

Update changelog

(cherry picked from commit d900a35839170e30ddf28b855611e2c5aec99343)

commit sha: f7827a0408075cd945a1eaf3b311882973016277

push time in 2 months ago
push

yahaa push yahaa/telegraf

yahaa
yahaa

docs: update README with info on package repos (#9964)

yahaa
yahaa

fix: Graylog plugin TLS support and message format (#9862)

yahaa
yahaa

chore: update go to 1.17.2 (#9873)

yahaa
yahaa

fix: Check return code of zfs command for FreeBSD. (#9956)

yahaa
yahaa

feat: update etc/telegraf.conf and etc/telegraf_windows.conf (#9876)

yahaa
yahaa

fix: starlark pop operation for non-existing keys (#9954)

yahaa
yahaa

chore: lint ignore fmt.Printf unhandled error (#9967)

yahaa
yahaa

chore: Update to AWS SDK v2 (#9647)

yahaa
yahaa

feat: Kafka Add metadata full to config (#9833)

yahaa
yahaa

fix: set NIGHTLY=1 for correctly named nightly artifacts (#9987)

yahaa
yahaa

docs: Create SECURITY.md (#9951)

Co-authored-by: Joshua Powers [email protected]

yahaa
yahaa

feat: Add more details to processors.ifname logmessages (#9984)

yahaa
yahaa

fix: add s390x to nightlies (#9990)

yahaa
yahaa

docs: update nightlies links (#9989)

yahaa
yahaa

feat: add option to skip table creation in azure data explorer output (#9942)

yahaa
yahaa

feat: plugins/common/tls/config.go: Filter client certificates by DNS names (#9910)

yahaa
yahaa

test: add sqlserver plugin integration tests (#9943)

  • Adding integration tests for AzureSQLDBResourceStats.

  • Adding azuresqlmanagedqueries_test.go

  • Updated integration tests for sql managed instance queries.

  • Updated integration tests for sql database queries.

  • Updated integration tests for azure sql database queries

  • Updated integration tests for azure sql managed instance queries

  • Fixed lint issues with make fmt.

Co-authored-by: yannick [email protected]

yahaa
yahaa

fix: Allow for non x86 macs in Go install script (#9982)

yahaa
yahaa

chore: create bug report form (#9976)

yahaa
yahaa

fix: procstat tags were not getting generated correctly (#9973)

Fixes: #9961

commit sha: 39bf3834f8662551910911325c952bdb64fc4fed

push time in 2 months ago
pull request

yahaa pull request yahaa/telegraf

yahaa
yahaa

Fix kubernetes watch err

Required for all PRs:

  • Updated associated README.md.
  • Wrote appropriate unit tests.

resolves #

pull request

yahaa pull request yahaa/telegraf

yahaa
yahaa

Fix kubernetes watch err

Required for all PRs:

  • Updated associated README.md.
  • Wrote appropriate unit tests.

resolves #

Activity icon
created branch

yahaa in yahaa/telegraf create branch fix-kubernetes-watch-err

createdAt 2 months ago
Nov
9
2 months ago
started
started time in 2 months ago
push

yahaa push yahaa/algo

yahaa
yahaa

feat: leetcode 128 longest consecutive sequence

commit sha: f484c1504bfbe322dee451472581c1f24c02420b

push time in 2 months ago
push

yahaa push yahaa/algo

yahaa
yahaa

feat: leetcode 128 longest consecutive sequence

commit sha: 8226fda926ab7b9207301453b5ff8ca5f7b5bc2f

push time in 2 months ago
Nov
7
2 months ago
started
started time in 2 months ago
Nov
6
2 months ago
push

yahaa push yahaa/rclip

yahaa
yahaa

Merge pull request #3 from yahaa/master

feat: update readme

commit sha: 0beb91dcf48401f5ec6a76cdc8aac356ecdc5c13

push time in 2 months ago
started
started time in 2 months ago
Previous