Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete even more mesos code #3876

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4a0aef7
Delete mesos_maintenance. Move MAINTENANCE_ROLE, the only thing impor…
EvanKrall May 17, 2024
ee91056
Remove paasta_native_serviceinit.py, which appears unused
EvanKrall May 17, 2024
fb0a8c9
Delete autoscaling/forecasting.py, which was used for autoscaling on …
EvanKrall May 17, 2024
95d0e31
Delete now-unused code from autoscaling_service_lib.py
EvanKrall May 17, 2024
facb29c
Delete apparently-unused code relating to V1 deployments.json
EvanKrall May 17, 2024
2f77a32
Delete unused methods from mesos_tools.py
EvanKrall May 17, 2024
72c6f13
Delete unused adhoc_scheduler.py
EvanKrall May 17, 2024
a2814b2
Delete unused code from metastatus_lib
EvanKrall May 17, 2024
223cc91
Delete native_scheduler.py and code that was only used by native_sche…
EvanKrall May 17, 2024
7d0f394
Remove mesos code from paasta_tools/contrib/get_running_task_allocati…
EvanKrall May 17, 2024
2fbce35
Remove mesos code from broadcast_log_to_services
EvanKrall May 17, 2024
7f75550
Remove mesos-related code from smartstack_tools
EvanKrall May 17, 2024
8179494
Remove kill_orphaned_docker_containers, which only worked for Mesos
EvanKrall May 17, 2024
9bbd546
Remove paasta_execute_docker_command script, but copy execute_in_cont…
EvanKrall May 17, 2024
908220a
Delete paasta_firewall_logging, paasta_firewall_update, and now-unuse…
EvanKrall May 17, 2024
808325c
Remove unused code from autoscaling/utils.py
EvanKrall May 17, 2024
098759d
Delete bounce_lib, which is now unused
EvanKrall May 17, 2024
e19e44d
Delete some unused mesos-related SystemPaastaConfig methods
EvanKrall May 17, 2024
e923dd0
Remove resources.utilization API endpoint, since this only ever worke…
EvanKrall May 17, 2024
405676d
Remove check_spark_jobs, which only worked on Mesos
EvanKrall May 17, 2024
40d22be
Remove a bunch of unused code from mesos_tools
EvanKrall May 17, 2024
b1fe2fb
Remove DeploymentsJsonV1 references from general_itests
EvanKrall May 17, 2024
cbc59cd
Move suffixed_number_value to kubernetes_tools, delete the rest of me…
EvanKrall May 18, 2024
c4f57d3
Fix deployments_json-related general_itests
EvanKrall May 18, 2024
1918882
Delete more unused code from mesos_tools.py
EvanKrall May 18, 2024
402dda2
Remove all remote-run/paasta_remote_run code, since it only worked on…
EvanKrall May 18, 2024
e089b04
Delete log_task_lifecycle_events since this looks like it only works …
EvanKrall May 18, 2024
316db97
Remove mesos_tools since it is no longer imported anywhere
EvanKrall May 18, 2024
406685c
Remove the last import of paasta_tools.mesos, and delete all of paast…
EvanKrall May 18, 2024
bc666aa
Remove mesos-related code from utils.py
EvanKrall May 18, 2024
2700f45
Remove unused method get_volumes_from_spark_mesos_configs
EvanKrall May 18, 2024
cbe056b
Remove drain_lib and all references, since this is not used for Kuber…
EvanKrall May 18, 2024
fff60de
Delete unused mesos-related methods in api/views/instance.py
EvanKrall May 18, 2024
6e16029
Remove some mesos-only methods from InstanceConfig
EvanKrall May 18, 2024
04366c8
Remove more paasta native framework stuff
EvanKrall May 18, 2024
658565f
Remove run_on_master method, which is now unused
EvanKrall May 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions debian/paasta-tools.links
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ opt/venvs/paasta-tools/bin/generate_all_deployments usr/bin/generate_all_deploym
opt/venvs/paasta-tools/bin/generate_deployments_for_service.py usr/bin/generate_deployments_for_service
opt/venvs/paasta-tools/bin/generate_services_file.py usr/bin/generate_services_file
opt/venvs/paasta-tools/bin/generate_services_yaml.py usr/bin/generate_services_yaml
opt/venvs/paasta-tools/bin/kill_orphaned_docker_containers.py usr/bin/kill_orphaned_docker_containers
opt/venvs/paasta-tools/bin/kubernetes_remove_evicted_pods.py usr/bin/kubernetes_remove_evicted_pods
opt/venvs/paasta-tools/bin/paasta-api usr/bin/paasta-api
opt/venvs/paasta-tools/bin/paasta-fsm usr/bin/paasta-fsm
Expand All @@ -23,13 +22,9 @@ opt/venvs/paasta-tools/bin/paasta_deploy_tron_jobs usr/bin/paasta_deploy_tron_jo
opt/venvs/paasta-tools/bin/paasta-deployd usr/bin/paasta-deployd
opt/venvs/paasta-tools/bin/paasta_docker_wrapper usr/bin/paasta_docker_wrapper
opt/venvs/paasta-tools/bin/paasta_dump_locally_running_services usr/bin/paasta_dump_locally_running_services
opt/venvs/paasta-tools/bin/paasta_execute_docker_command.py usr/bin/paasta_execute_docker_command
opt/venvs/paasta-tools/bin/paasta_firewall_logging usr/bin/paasta_firewall_logging
opt/venvs/paasta-tools/bin/paasta_firewall_update usr/bin/paasta_firewall_update
opt/venvs/paasta-tools/bin/paasta_list_kubernetes_service_instances usr/bin/paasta_list_kubernetes_service_instances
opt/venvs/paasta-tools/bin/paasta_list_tron_namespaces usr/bin/paasta_list_tron_namespaces
opt/venvs/paasta-tools/bin/paasta_oom_logger usr/bin/paasta_oom_logger
opt/venvs/paasta-tools/bin/paasta_remote_run.py usr/bin/paasta_remote_run
opt/venvs/paasta-tools/bin/paasta_secrets_sync.py usr/bin/paasta_secrets_sync
opt/venvs/paasta-tools/bin/paasta_setup_tron_namespace usr/bin/paasta_setup_tron_namespace
opt/venvs/paasta-tools/bin/paasta_tabcomplete.sh usr/share/bash-completion/completions/paasta
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/generated/paasta_tools.autoscaling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Submodules
.. toctree::

paasta_tools.autoscaling.autoscaling_service_lib
paasta_tools.autoscaling.forecasting
paasta_tools.autoscaling.max_all_k8s_services
paasta_tools.autoscaling.pause_service_autoscaler
paasta_tools.autoscaling.utils
Expand Down
7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.bounce_lib.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.check_spark_jobs.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.cli.cmds.remote_run.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/generated/paasta_tools.cli.cmds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Submodules
paasta_tools.cli.cmds.mesh_status
paasta_tools.cli.cmds.pause_service_autoscaler
paasta_tools.cli.cmds.push_to_registry
paasta_tools.cli.cmds.remote_run
paasta_tools.cli.cmds.rollback
paasta_tools.cli.cmds.secret
paasta_tools.cli.cmds.security_check
Expand Down
7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.drain_lib.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.firewall_logging.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.firewall_update.rst

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions docs/source/generated/paasta_tools.frameworks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Submodules

paasta_tools.frameworks.adhoc_scheduler
paasta_tools.frameworks.constraints
paasta_tools.frameworks.native_scheduler
paasta_tools.frameworks.native_service_config
paasta_tools.frameworks.task_store

Module contents
Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.mesos_maintenance.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.mesos_tools.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.metrics.metastatus_lib.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/generated/paasta_tools.metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Submodules

.. toctree::

paasta_tools.metrics.metastatus_lib
paasta_tools.metrics.metrics_lib

Module contents
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/generated/paasta_tools.monitoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Submodules
.. toctree::

paasta_tools.monitoring.check_k8s_api_performance
paasta_tools.monitoring.kill_orphaned_docker_containers

Module contents
---------------
Expand Down

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions docs/source/generated/paasta_tools.paasta_remote_run.rst

This file was deleted.

11 changes: 0 additions & 11 deletions docs/source/generated/paasta_tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Submodules
paasta_tools.adhoc_tools
paasta_tools.apply_external_resources
paasta_tools.async_utils
paasta_tools.bounce_lib
paasta_tools.broadcast_log_to_services
paasta_tools.cassandracluster_tools
paasta_tools.check_autoscaler_max_instances
Expand All @@ -38,7 +37,6 @@ Submodules
paasta_tools.check_kubernetes_services_replication
paasta_tools.check_oom_events
paasta_tools.check_services_replication_tools
paasta_tools.check_spark_jobs
paasta_tools.cleanup_kubernetes_cr
paasta_tools.cleanup_kubernetes_crd
paasta_tools.cleanup_kubernetes_jobs
Expand All @@ -49,13 +47,10 @@ Submodules
paasta_tools.deployment_utils
paasta_tools.docker_wrapper
paasta_tools.docker_wrapper_imports
paasta_tools.drain_lib
paasta_tools.dump_locally_running_services
paasta_tools.eks_tools
paasta_tools.envoy_tools
paasta_tools.firewall
paasta_tools.firewall_logging
paasta_tools.firewall_update
paasta_tools.flink_tools
paasta_tools.flinkeks_tools
paasta_tools.generate_deployments_for_service
Expand All @@ -67,20 +62,14 @@ Submodules
paasta_tools.kubernetes_tools
paasta_tools.list_kubernetes_service_instances
paasta_tools.list_tron_namespaces
paasta_tools.log_task_lifecycle_events
paasta_tools.long_running_service_tools
paasta_tools.mac_address
paasta_tools.marathon_dashboard
paasta_tools.mesos_maintenance
paasta_tools.mesos_tools
paasta_tools.monitoring_tools
paasta_tools.monkrelaycluster_tools
paasta_tools.nrtsearchservice_tools
paasta_tools.nrtsearchserviceeks_tools
paasta_tools.oom_logger
paasta_tools.paasta_execute_docker_command
paasta_tools.paasta_native_serviceinit
paasta_tools.paasta_remote_run
paasta_tools.paasta_service_config_loader
paasta_tools.prune_completed_pods
paasta_tools.puppet_service_tools
Expand Down
2 changes: 0 additions & 2 deletions docs/source/installation/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ Hacheck provides several behaviors that are useful for Paasta:

* It can preemptively return error codes for health checks, allowing us to remove a task from load balancers before
shutting it down.
(This is implemented in the
`HacheckDrainMethod <../generated/paasta_tools.drain_lib.html#paasta_tools.drain_lib.HacheckDrainMethod>`_.)

Sensu
-----
Expand Down
18 changes: 1 addition & 17 deletions docs/source/yelpsoa_configs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Placement Options
-----------------

Placement options provide control over how PaaSTA schedules a task, whether it
is scheduled by Marathon (on Mesos), Kubernetes, Tron, or ``paasta remote-run``.
is scheduled by Kubernetes or Tron.
Most commonly, it is used to restrict tasks to specific locations.

.. _general-placement-options:
Expand Down Expand Up @@ -368,14 +368,6 @@ instance MAY have:
This setting only affects the first time deployd processes an instance after a change --
instances that need to be reprocessed will be reenqueued normally.

* ``drain_method``: Controls the drain method; see `drain_lib
<generated/paasta_tools.drain_lib.html>`_. Defaults to ``noop`` for
instances that are not in Smartstack, or ``hacheck`` if they are.

* ``drain_method_params``: A dictionary of parameters for the specified
drain_method. Valid parameters are any of the kwargs defined for the
specified bounce_method in `drain_lib <generated/paasta_tools.drain_lib.html>`_.

* ``cmd``: The command that is executed. If a string, will be wrapped in ``/bin/sh -c``.
If a list, will be executed directly as is with no shell parsing.

Expand Down Expand Up @@ -621,14 +613,6 @@ instance MAY have:
This setting only affects the first time deployd processes an instance after a change --
instances that need to be reprocessed will be reenqueued normally.

* ``drain_method``: Controls the drain method; see `drain_lib
<generated/paasta_tools.drain_lib.html>`_. Defaults to ``noop`` for
instances that are not in Smartstack, or ``hacheck`` if they are.

* ``drain_method_params``: A dictionary of parameters for the specified
drain_method. Valid parameters are any of the kwargs defined for the
specified bounce_method in `drain_lib <generated/paasta_tools.drain_lib.html>`_.

* ``cmd``: The command that is executed. Can be used as an alternative to
args for containers without an `entrypoint
<https://docs.docker.com/reference/builder/#entrypoint>`_. This value is
Expand Down
6 changes: 0 additions & 6 deletions example_cluster/paasta/native.json

This file was deleted.

20 changes: 0 additions & 20 deletions general_itests/paasta_execute_docker_command.feature

This file was deleted.

Loading
Loading