Giter VIP home page Giter VIP logo

Comments (2)

ddelnano avatar ddelnano commented on June 10, 2024

Hi @lddlww, can you please provide more information on the client and server in this test? The px/mysql_data script will filter out anything that doesn't originate from a pod (source). Could you be running the client process outside of a pod?

from pixie.

lddlww avatar lddlww commented on June 10, 2024

can you please provide more information on the client and server in this test?

yes

kubectl get all -n mysqlcloud

NAME                         READY   STATUS    RESTARTS   AGE
pod/mysql-794776ccb5-rc876   1/1     Running   0          40h

NAME                     TYPE       CLUSTER-IP    EXTERNAL-IP   PORT(S)          AGE
service/mysql-nodeport   NodePort   10.96.0.182   <none>        3306:32143/TCP   40h

NAME                    READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/mysql   1/1     1            1           40h

NAME                               DESIRED   CURRENT   READY   AGE
replicaset.apps/mysql-794776ccb5   1         1         1       40h

mysql -h10.96.0.182 -P3306 -p

mysql> show tables;
+----------------+
| Tables_in_test |
+----------------+
| t1             |
+----------------+
mysql> delete from t1 where id=1;
Query OK, 1 row affected (0.00 sec)
mysql> select sleep(5);
+----------+
| sleep(5) |
+----------+
|        0 |
+----------+
1 row in set (5.00 sec)
mysql> select version();
+-----------+
| version() |
+-----------+
| 5.7.43    |
+-----------+
1 row in set (0.00 sec)

mysql --version

mysql  Ver 8.0.34-0ubuntu0.22.04.1 for Linux on x86_64 ((Ubuntu))

i used mysql -h10.96.0.182 -P3306 -p to access mysqld pod,and do some sqls,but there nothing info in px/mysql_data within live UI or script output

from pixie.

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.